Comments (3)
I've submitted a PR in order to solve this, i'm closing this issue.
from celery.node.
I've found out that when we throw an Error from the celery.node worker, the state of the Task is saved as 'SUCCESS'. This is because the state of the task is hard coded inside the taskHandler, when we call storeResult.
Maybe we can implement a CATCH in the taskPromise, so when a error is thrown from our worker, we can store the result as 'FAILURE'?
This is something that is suitable for the celery.node project, if yes, i can make a PR for this.
from celery.node.
Hi. Thank you for reporting the issue.
You're right. It would be greatly appreciated if you make a PR.
Thank you.
from celery.node.
Related Issues (20)
- Feature: support redis result queue expiration time to be configurable.
- Missing Process Handler
- forget method
- How to scale the worker?
- Rabbitmq backend, 50,000+ queues are created HOT 1
- RPC via RabbitMQ does not work HOT 2
- Support for flower HOT 1
- Query Regarding celery-node Support for Apache Kafka
- Could you add a new feature to support query the celery task length
- How to set workers message treatment concurrency ? HOT 5
- Add "rediss://" support HOT 1
- asyncResult created from task ID does not return anything HOT 5
- Unexpected close of worker after all the I/O intensive tasks has finished HOT 1
- inequivalent arg 'auto_delete' using the example HOT 1
- Handle `SIGTERM` signals
- Not possible to set --pool to solo HOT 1
- hope to support the function of manually ack messages.
- Have you ever used Celery not to include pool options in this library ? HOT 2
- worker start error: NotRegistered HOT 2
- Support manual routing.
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 celery.node.