Re: Issue 275 in memcached: binary protocol TOUCH,GAT,GATQ bug

2012-05-29 Thread memcached


Comment #4 on issue 275 by dorma...@rydia.net: binary protocol  
TOUCH,GAT,GATQ bug

http://code.google.com/p/memcached/issues/detail?id=275

If you sleep for 2 seconds instead of one, it should work. Memcached's  
internal clock updates once per second, so if you want to see things change  
at around the second level it becomes unreliable.




Re: Issue 275 in memcached: binary protocol TOUCH,GAT,GATQ bug

2012-05-29 Thread memcached


Comment #5 on issue 275 by mojid...@gmail.com: binary protocol  
TOUCH,GAT,GATQ bug

http://code.google.com/p/memcached/issues/detail?id=275

cache.set(x, xxx, 3);
cache.touch(x, 1)
while(true){
 TimeUnit.SECONDS.sleep(1);
 System.out.println(cache.get(x));
}
===output==
xxx
xxx
xxx
xxx
xxx
.
.

I run a few minutes, It still did not expired