Pavel Kirilin

Results 296 comments of Pavel Kirilin

I guess graceful updates are not supported right now, the main process won't handle a HUP signal, but it can be added. I think it's a good thing to have.

Should be easy to add. Basically, we have everything for this feature to be implemented. In the [ProcessManager](https://github.com/taskiq-python/taskiq/blob/4ee831214ba67172096e64c78f2f1fb13d018b39/taskiq/cli/worker/process_manager.py#L143) you can define a function that reloads all subprocesses. ```python def reload_all(self):...

Okay. Since this issue is a bit stale, I will try implementing it.

@itssimon, @dima-kov, please verify that the feature was implemented correctly. It was released in 0.11.4.

Okay, we need to fix it.

Sure. The easiest way will be to create your own schedule source that checks in database what tasks have run and execute required tasks accordingly.

You can remember when was the last run of the task and decide whether to run the task based on this value. It might be a bit tricky with cron,...

It looks good to me. Let's check tests and release it if it's fine.

Can you please rebase onto the `main` branch? I've fixed the workflows.

Please rebase onto main branch and we will merge it.