mirror of
https://github.com/langgenius/dify.git
synced 2026-11-12 06:11:12 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
11 lines
299 B
Python
11 lines
299 B
Python
"""Celery beat entry point for due workflow schedule polling."""
|
|
|
|
from celery import shared_task
|
|
|
|
from extensions.ext_application_services import application_services
|
|
|
|
|
|
@shared_task(queue="schedule_poller")
|
|
def poll_workflow_schedules() -> None:
|
|
application_services().triggers.schedules.poll()
|