psr-factory 5.0.0b19__py3-none-win_amd64.whl → 5.0.0b20__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
psr/execqueue/watcher.py CHANGED
@@ -12,7 +12,7 @@ SERVER_URL = os.getenv("SERVER_URL", "http://127.0.0.1:5000")
12
12
  WATCH_DIR = os.getenv("WATCH_DIR")
13
13
  PROCESSED_DIR = os.getenv("PROCESSED_DIR")
14
14
  RESULTS_DIR = os.getenv("RESULTS_DIR", "results")
15
- SLEEP_SECONDS = int(os.getenv("WATCHER_SLEEP", "1"))
15
+ SLEEP_SECONDS = int(os.getenv("WATCHER_SLEEP", "30"))
16
16
  DB_PATH = os.getenv("WATCHER_DB_PATH", "watcher.sqlite")
17
17
 
18
18
 
@@ -66,8 +66,7 @@ def _process_zip_files():
66
66
 
67
67
  logging.info(f"zip file found: {zip_path}")
68
68
 
69
- #case_id = execqueue.upload_case_file(zip_path, SERVER_URL)
70
- case_id = 1
69
+ case_id = execqueue.upload_case_file(zip_path, SERVER_URL)
71
70
  if not case_id:
72
71
  logging.error(f"Failed uploading file {zip_path}")
73
72
  continue
psr/factory/__init__.py CHANGED
@@ -2,6 +2,6 @@
2
2
  # Unauthorized copying of this file, via any medium is strictly prohibited
3
3
  # Proprietary and confidential
4
4
 
5
- __version__ = "5.0.0b19"
5
+ __version__ = "5.0.0b20"
6
6
 
7
7
  from .api import *