mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: DistributedCache would fail serialization in some cases
This commit is contained in:
parent
96380bfd38
commit
1d27b33100
2 changed files with 6 additions and 4 deletions
|
@ -15,10 +15,11 @@ describe DistributedCache do
|
|||
c1 = DistributedCache.new("test1")
|
||||
c2 = DistributedCache.new("test1")
|
||||
|
||||
set = {a: 1, b: 1}
|
||||
set = Set.new
|
||||
set << 1
|
||||
set << "b"
|
||||
set << 92803984
|
||||
set << 93739739873973
|
||||
|
||||
c1["cats"] = set
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue