summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/file.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-02-05 10:28:39 +0000
committerSteve Kemp <steve@steve.org.uk>2015-02-05 10:28:39 +0000
commitf89d370d90be2173c2d670dab03b79daaa3eb685 (patch)
treeb41f5f58d97ff98aa5be108073d6b70c219122c0 /lib/custodian/alerts/file.rb
parenta5fa7e1b72562b7a643810ea4fb01680081c2dd4 (diff)
Simplify the flushing of queues.
Now that we've moved to using redis by default the handling of queue-flushing needs to change. We can simply get rid of the busy-wait and run a redis "del" operation. With that in mind we've moved the flushing logic to our queue abstraction layer, and simplified our queue-helper script.
Diffstat (limited to 'lib/custodian/alerts/file.rb')
0 files changed, 0 insertions, 0 deletions