Why can't you just use memcache.set(key), and use a cron job to delete every month: memcache.delete(key).
2009/4/19 michael <mt1...@gmail.com> > > eg, memcache.set(key, value, 90 * 24 * 3600) # silently fails to set > the cache value > > Relevant doc show below but WTF is "one month" ? 28 days? or 29? or > 30? or 31? Depends on what it month it is? :-p > > > set(key, value, time=0, min_compress_len=0) > > Sets a key's value, regardless of previous contents in cache. > > Arguments: ... > > time > Optional expiration time, either relative number of seconds > from current time (up to 1 month), or an absolute Unix epoch time. By > default, items never expire, though items may be evicted due to memory > pressure. Float values will be rounded up to the nearest whole second. > > > Reference: > http://code.google.com/appengine/docs/python/memcache/functions.html > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---