Merge lp:~brianlmoon/gearmand/sqlite-replace into lp:gearmand/1.0
Proposed by
Brian Moon
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~brianlmoon/gearmand/sqlite-replace |
Merge into: | lp:gearmand/1.0 |
Diff against target: |
23 lines (+5/-1) 1 file modified
libgearman-server/queue_libsqlite3.c (+5/-1) |
To merge this branch: | bzr merge lp:~brianlmoon/gearmand/sqlite-replace |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gearman-developers | Pending | ||
Review via email: mp+21453@code.launchpad.net |
Description of the change
If the queue is ever out of sync with the daemon memory, inserts into the sqlite queue will prevent jobs from being queued. The memcached queue does not have this problem as it uses a set instead of an add. This will make the sqlite queue work in a similar fashion, replacing any queue item that has the same unique key.
To post a comment you must log in.