Reproduced as follows:
import memcache cl = memcache.Client(['localhost:11211', 'localhost:11212', 'localhost:11213', 'localhost:11214']) import random while cl.set(str(random.random()), 1): pass
'while' must be an infinite loop since cl.set() returns True on success but it exits in milliseconds instead.
Reproduced as follows:
import memcache Client( ['localhost: 11211', 'localhost:11212', 'localhost:11213', 'localhost:11214']) str(random. random( )), 1): pass
cl = memcache.
import random
while cl.set(
'while' must be an infinite loop since cl.set() returns True on success but it exits in milliseconds instead.