diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mauve/processor.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mauve/processor.rb b/lib/mauve/processor.rb index acf72b3..48a4ee2 100644 --- a/lib/mauve/processor.rb +++ b/lib/mauve/processor.rb @@ -57,8 +57,7 @@ module Mauve to_delete = [] - @transmission_id_cache = @transmission_id_cache.delete_if do |cache_data| - tid, received_at = cache_data + @transmission_id_cache.delete_if do |tid, received_at| (now - received_at) > @transmission_cache_expire_time end |