vendor/rack/lib/rack/session/memcache.rb in relevance-castronaut-0.5.4 vs vendor/rack/lib/rack/session/memcache.rb in relevance-castronaut-0.6.0

- old
+ new

@@ -43,10 +43,10 @@ session = {} lc = 0 @mutex.synchronize do begin raise RuntimeError, 'Unique id finding looping excessively' if (lc+=1) > 1000 - sid = "%08x" % rand(0xffffffff) + sid = generate_sid ret = @pool.add(sid, session) end until /^STORED/ =~ ret end end class << session