mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 13:05:49 +02:00
Mark indexing jobs as ee when running ee supervisord
This commit is contained in:
10
backend/ee/danswer/background/update.py
Normal file
10
backend/ee/danswer/background/update.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from danswer.background.update import update__main
|
||||
from danswer.utils.variable_functionality import global_version
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# mark this as the EE-enabled indexing job
|
||||
global_version.set_ee()
|
||||
# run the usual flow, any future branching will be done with a
|
||||
# call to `global_version.get_is_ee_version()`
|
||||
update__main()
|
Reference in New Issue
Block a user