We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 181b6db + f555891 commit 0e3f3a7Copy full SHA for 0e3f3a7
lib/splitclient-rb/cache/senders/impressions_adapter/redis_sender.rb
@@ -16,7 +16,7 @@ def record_uniques_key(uniques)
16
17
size = @adapter.add_to_queue(unique_keys_key, uniques_formatter(uniques))
18
19
- @adapter.expire(unique_keys_key, EXPIRE_SECONDS) if uniques.length == size.last
+ @adapter.expire(unique_keys_key, EXPIRE_SECONDS) if uniques.length == size
20
rescue StandardError => e
21
@config.log_found_exception(__method__.to_s, e)
22
end
0 commit comments