-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Meetup data retrieval to a task #8
Comments
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. |
Gondor supports tasks now, but not scheduled tasks. Probably better to wait for that. |
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. |
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 :/) |
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.
The text was updated successfully, but these errors were encountered: