Mastodon Feed: Post

Mastodon Feed

Boosted by glyph ("Glyph"):
aud@spectre.asta.lgbt (":: Asta :: [New Server]") wrote:

alright, so, I feel like probably switching to Twisted is going to start paying off in a big way here soon (other than the simplicity of using Klein and being able to integrate existing `asyncio` stuff into) because I wasn't quite sure how I was going to handle scheduling and doing backup work (adding scraped results to the database, etc)

aaaand yeah, it looks easy as fuck: https://docs.twisted.org/en/latest/core/howto/time.html

mostly I just need background tasks to handle updating the database and *potentially* checking for new things and firing off one-off tasks and it seems those are both built right in. niiiiice.