Replies: 5 comments 6 replies
-
HealthcheckThe general idea is to provide a way to get a healthcheck from the broker. I start this thread where it would be nice to be able to ask the broker if things are health. It in turn check for the backends (as configured by the application) |
Beta Was this translation helpful? Give feedback.
-
Interval based schedulesMy current use case requires that tasks be executed in intervals set by a user. If I understood correctly the time parameter is only useful for one off tasks, and cron only has minutes as it's lowest value. Celery does this by allowing setting the schedule as seconds or a timedelta for more precise timings. |
Beta Was this translation helpful? Give feedback.
-
Retry JobsThere should be option to manually retry the job by some mechanism cc: @s3rius |
Beta Was this translation helpful? Give feedback.
-
A way to get job intermediate statusFor example: import taskiq_redis
import taskiq
# ... Broker construction
broker = ...
@broker.task()
async def my_task(x: int)->int:
return int*2
job = await my_task.find_job('job_id') # Same object returned when kicking
assert job.status == taskiq.JobStatus.RUNNING
schedule = await my_task.get_schedule('schedule_id')
assert schedule.status == taskiq.ScheduleStatus.PENDING
assert schedule.status == taskiq.ScheduleStatus.KICKED
print(schedule.next_time) # Calculated from cron expression or a raw datetime, if periodic or not kicked, `None` otherwise. The schedule_id can be a |
Beta Was this translation helpful? Give feedback.
-
Hi It would be nice to have worker-scoped generator dependencies. I was kinda expecting generator dependencies to be this out of the box, based on experience with other projects. |
Beta Was this translation helpful? Give feedback.
-
Here we want to discuss new feature Ideas we want to see in taskiq.
Beta Was this translation helpful? Give feedback.
All reactions