Mark indexing jobs as ee when running ee supervisord

This commit is contained in:
Weves
2023-11-29 22:47:29 -08:00
committed by Chris Weaver
parent 670de6c00d
commit f82ae158ea
4 changed files with 29 additions and 4 deletions

View 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()