collective / collective/collective.taskqueue

possible to optionally support queuing code like p.a.async

Open
#23 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
7
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Would you consider the possibility for optional support which takes a callable and queues executing this?
I'm guessing this would require storage in the ZODB (another mount or the same one) of the code temporarily during queuing. Or else it could be done by pickling the code into redis perhaps with some signature for safety?
The usecase is that it makes for much nicer code rather than splitting your code into seperate views for everything you want to run async.
It's would also be convenient for security. To make code thats async with taskqueue that can't be run by the user directly takes extra work at the moment to pass secrets or set alternative auth headers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.