summaryrefslogtreecommitdiff
path: root/lib/custodian/util/timespan.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
commiteaa6fd78cc6fd2eacd2d551e7eded0e899458258 (patch)
tree18c929dc6728a29a6b4166ddab534b83986080fc /lib/custodian/util/timespan.rb
parent328b3b7a7fed9ae69dfa6292c9d49bd89420f349 (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/util/timespan.rb')
0 files changed, 0 insertions, 0 deletions