Skip to content

Commit 7807fe5

Browse files
authored
Add periodic topic collection sync task (#2673)
* adding topic sync task * fixing task name
1 parent 31ff8cb commit 7807fe5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main/settings_celery.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@
180180
60 * EMBEDDING_SCHEDULE_MINUTES,
181181
), # default is every 30 minutes
182182
},
183+
"daily_topic_embeddings_sync": {
184+
"task": "vector_search.tasks.sync_topics",
185+
"schedule": crontab(minute=0, hour="6,18,23"), # 2am 2pm and 7pm EST
186+
},
183187
}
184188
)
185189

0 commit comments

Comments
 (0)