Comment 5 for bug 1370324

Revision history for this message
Alexander Makarov (amakarov) wrote :

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.