get number of currently executed tasks
See original GitHub issueIs there any way to get the number of currently executed tasks? These are no longer part of the scheduled_count
or scheduled_count
for the queue; as they are being actively worked on.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
ExecutorService with number of running tasks - Stack Overflow
I want to get the number of tasks that are submitted to an executor service and not yet finished (i.e currently running/active or...
Read more >Number of Remaining Tasks in the ThreadPoolExecutor
This will report the total number of tasks that are queued up and ready for execution. If we add the number of worker...
Read more >TASK_HISTORY - Snowflake Documentation
TASK_HISTORY¶. This table function can be used to query the history of task usage within a specified date range. The function returns the...
Read more >Task | ClearML
The term “main execution Task” refers to the Task context for current running experiment. Python experiment scripts can create one, and only one,...
Read more >Workers Guide — Celery 3.1.11 documentation
I.e. the number is the process index not the process count or pid. ... When a worker receives a revoke request it will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/coleifer/huey/issues/488#issuecomment-721133571 - Your post is not correct and is prone to race conditions when there are multiple workers. Signals may be executed synchronously by the worker (as part of task execution), but if you have multiple workers then the execution of the signals may be interleaved.
Beware with Sqlite you may run into “database is locked” errors and the like, which (if unhandled correctly) will lead to your state table being corrupt/incorrect.