Comments (3)
My problem occured when I config v-host not correctly and rabbitby doesn't release the process so my job remain 'Started' forever.
So this is unrelated to the job queue, if the rabbitpy lib handles a timeout, it means at some point it will raises a kind of timeout error which will be propagated to the job handler, then either you let it bubble up and the job will be failed, either you catch it and raise a RetryableJobError so the job is retried later. In any case, to me it's a problem with rabbitpy not having a timeout configured. Never used this lib but it seems possible: gmr/rabbitpy#85
from queue.
What is doing your job exactly? Example: if your job executes a requests to another server, be sure to set a timeout in your call.
Jobs have no timeout, although you can have more than one workers executing jobs, and you should probably put your heavy job in a dedicated channel, so it won't block the other jobs.
from queue.
My job sends a message to RabbitMQ Server via rabbitpy library (https://github.com/gmr/rabbitpy). My problem occured when I config v-host not correctly and rabbitby doesn't release the process so my job remain 'Started' forever. Therefore, I think queue should have timeout for each, after timeout job will be 'Failed', because the next job can work with that config. (Now, my next job can't execute because the maximum of concurrent job in my channel is 2 and there are 2 jobs with forever state 'Started' by that problem),
from queue.
Related Issues (20)
- [V16-queue_job] Problems with multiple databases
- Disable queue_job in staging env HOT 2
- Question: Is it possible to modify an existing queue.job chain? HOT 2
- The job runner does not understand cancelled jobs HOT 7
- Controller method fails HOT 8
- why run with with_delay can not get the new field。。。。???? ValueError: Invalid field 'job_title' on model 'hdjn_oa.employee_ext' HOT 1
- [QUESTION] About channels HOT 1
- Error with PgBouncer HOT 6
- OperationalError, but progress is saved and job is repeated couple more times
- KeyError: 'socket' After install queue.job in odoo 16.0 HOT 9
- [14.0] identity_exact not working w/ chained jobs? HOT 6
- installation not possible in odoo 16 HOT 2
- Since Odoo 15.0 environment.manage is useless warning from migration script in queue_job HOT 2
- Assigning delayable variable to another variable breaks delayable HOT 1
- queue_job_cron_jobrunner for v13 HOT 3
- Cannot install queue_job on odoo 16/windows (OSError: [WinError 10038] An operation was attempted on something that is not a socket) HOT 3
- Migration to version 17.0 HOT 4
- OperationalError: Unable to use a closed cursor HOT 2
- job_record_with_same_identity_key: make states configurable per job HOT 1
- [16.0] queue_job: Autovacuum doesn't clean up sub channels HOT 8
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 queue.