reset memcache based on time