mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:14:12 +08:00
FIX: DistributedCache would fail serialization in some cases
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user