Miserlou/Zappa

Running zappa.async tasks outside of Lambda [DOCUMENTATION]

Open

#1.124 geöffnet am 22. Sept. 2017

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.286 Forks)batch import
hacktoberfesthelp wanted

Repository-Metriken

Stars
 (11.903 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Currently porting over some Celery tasks to Zappa ones. One concern I have is that celery has a setting called ALWAYS_EAGER which causes it to skip the queue and run immediately, this is useful when testing simple cases and during simple local development.

I've looked but haven't found a out of the box way to to do this with Zappa. I'm considering implementing a ZAPPA_TASK_ALWAYS_EAGER toggle in my own code which would swap out the decorator for no decorator which should do the trick but it seems generally useful.

So I'm happy to fork and PR something if folks thinks its useful.

Contributor Guide