diff options
Diffstat (limited to 'scripts/queue_runner.py')
-rw-r--r-- | scripts/queue_runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/queue_runner.py b/scripts/queue_runner.py index fad223d..0264d83 100644 --- a/scripts/queue_runner.py +++ b/scripts/queue_runner.py @@ -10,6 +10,8 @@ from litequeue import SQLQueue from common.postgres import dbi QUEUE_DB = os.environ.get('el_QUEUE_db', 'litequeue.db') +QUEUE_DIR = os.environ.get('el_QUEUE_dir', 'queue') +QUEUE_DB = QUEUE_DIR + "/" + QUEUE_DB QUEUE_SLEEP = int(os.environ.get('el_QUEUE_sleep', 15)) # Default sleep 15 seconds when queue empty # Unlock all |