Comments (2)
Looked into the app autoregistration idea and it is more complicated than I originally thought. There are problems with defining the app before the task and exactly when the app would register the task. I can come back to that later
from rusty-celery.
Hmm yea and in most cases I think people will define their tasks at the module level but only instantiate the app in their main
function. Maybe we could have a global object that keeps track of tasks. When someone defines a task through the macro, the macro could add code that will add to the global object. Then when the celery app is instantiated it registers all the tasks from this global registry.
from rusty-celery.
Related Issues (20)
- rustls support
- Add task options that enable the user to send negative acknowledgements and rely on broker's retry mechanisms HOT 2
- Prefetch not working properly
- No connection was performed when setting `broker_connection_retry` to `false`
- How do I run the main method in beat_app.rs in a thread
- Cannot connect to broker with x-max-priority set HOT 2
- How to get TaskResult from AsyncResult? HOT 1
- New release? HOT 3
- Call for new features HOT 5
- BrokerBuilder is not Send HOT 6
- Socket was readable but we read 0. This usually means that the connection is half closed this mark it as broken HOT 7
- Celery task blocking main thread in actix web HOT 3
- does the RedisBroker support password
- WARN celery::broker::redis:Setting heartbeat on redis broker has no effect on anything HOT 2
- support streams protocol
- is it possible to define the log output level HOT 1
- Postgres as a broker/backend
- Limiting the rate of consuming HOT 4
- Delivery acknowledgement timeout on best practices
- Flower integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusty-celery.