You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think gondor supports some sort of worker or task concept. If so, that should be used to periodically refresh the meetup data for the home page. Currently, the first user to hit the page after cache expiry takes the hit.
Got an error-log email from the site on 9/23 wherein the call to meetup.com timed out. If this were a task such an error would never be seen by site visitors.
For what it's worth: one very easy way to handle this is to have a Django view that simply executes the task and returns e.g. the string "OK". (or "KC" if you want to get confusingly specific to PythonKC) (-:
Then you "just", on any random server you have on the Internet, or from ifttt.com, configure a periodic task to visit that URL.
Activity
cummingscs commentedon Sep 26, 2011
Got an error-log email from the site on 9/23 wherein the call to meetup.com timed out. If this were a task such an error would never be seen by site visitors.
cummingscs commentedon Nov 7, 2011
Gondor supports tasks now, but not scheduled tasks. Probably better to wait for that.
[1] https://gondor.io/support/celery/
paulproteus commentedon Jun 14, 2013
For what it's worth: one very easy way to handle this is to have a Django view that simply executes the task and returns e.g. the string "OK". (or "KC" if you want to get confusingly specific to PythonKC) (-:
Then you "just", on any random server you have on the Internet, or from ifttt.com, configure a periodic task to visit that URL.
cummingscs commentedon Jun 14, 2013
Right, or pingdom. Writing the task itself isn't really hard either, this is just how far down my priority list it is (wow, 2 years :/)