DEV: Attempt to fix `about` model flakes (#29057)

My theory is that there were nil entries (that we were filtering out) that then changed and we weren't resetting them properly.

(the failure no longer repro'd in 30 CI runs in this PR)
This commit is contained in:
Jarek Radosz 2024-10-03 10:19:34 +09:00 committed by GitHub
parent 3252865016
commit 53e6e32b2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class RedisSnapshot
values = redis.pipelined { |batch| keys.each { |key| batch.dump(key) } }
new(keys.zip(values).delete_if { |k, v| v.nil? })
new(keys.zip(values))
end
def initialize(dump)