Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Nov 1, 2024
1 parent e11aee3 commit 8ff8a88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/ee/danswer/background/celery/tasks/beat_schedule.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
from datetime import timedelta
from typing import Any

from danswer.background.celery.tasks.tasks import (
from backend.ee.danswer.background.celery.tasks.beat_schedule import (
tasks_to_schedule as base_tasks_to_schedule,
)

ee_tasks_to_schedule = [
{
"name": "sync-external-doc-permissions",
"task": "check_sync_external_doc_permissions_task",
"schedule": timedelta(seconds=5), # TODO: optimize this
"schedule": timedelta(seconds=30), # TODO: optimize this
},
{
"name": "sync-external-group-permissions",
"task": "check_sync_external_group_permissions_task",
"schedule": timedelta(seconds=5), # TODO: optimize this
"schedule": timedelta(seconds=60), # TODO: optimize this
},
{
"name": "autogenerate_usage_report",
Expand Down

0 comments on commit 8ff8a88

Please sign in to comment.