Why does the task name contain "now / 30"?

Posted by Jaroslav Záruba on Stack Overflow See other posts from Stack Overflow or by Jaroslav Záruba
Published on 2010-06-07T19:54:55Z Indexed on 2010/06/07 21:32 UTC
Read the original article Hit count: 312

In the video/PDF from "Data pipelines with Google App Engine" Brett puts "now / 30" into the task name noting that he will explain the reason later, but somehow he never does. :)
http://www.youtube.com/watch?v=zSDC_TU7rtc#t=41m35

task_name = '%s-%d-%d' % (sum_name, int(now / 30), index)

Do you have any idea about the reason? Does it have anything to do with the 7 day period in which one can't re-use task names?

URL to the session page: http://tinyurl.com/3523mej

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about task-queue