File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1616
1717logger = get_root_logger (service_name = 'processing_watchdog' )
1818
19- DEFAULT_MAX_SECONDS = 600
20- DEFAULT_INTERVAL_SECONDS = 60
19+ DEFAULT_MAX_SECONDS = 300
20+ DEFAULT_INTERVAL_SECONDS = 30
2121
2222def get_config_values ():
2323 try :
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ lti_consumer_secret=supersecretconsumersecret
66version_file =VERSION.json
77backup_path =../dump/database-dump/
88storage_max_size_mbytes =20000
9+ processing_limit = 600
10+ interval_time = 30
911
1012[mongodb]
1113url =mongodb://db:27017/
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ lti_consumer_secret=testing_lti_consumer_secret
66version_file =VERSION.json
77backup_path =../dump/database-dump/
88storage_max_size_mbytes =20000
9+ processing_limit = 600
10+ interval_time = 30
911
1012[mongodb]
1113url =mongodb://db:27017/
Original file line number Diff line number Diff line change @@ -86,6 +86,13 @@ services:
8686 volumes :
8787 - whisper_models:/root/.cache/whisper
8888
89+ processing_watchdog :
90+ image : wst-image:v0.2
91+ command : python3 -m processing_watchdog $APP_CONF
92+ restart : always
93+ depends_on :
94+ - db
95+
8996volumes :
9097 whisper_models :
9198 nltk_data :
You can’t perform that action at this time.
0 commit comments