Added sync plugin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-04-11 13:53:21 +02:00
parent 7e2b4aa371
commit 7d30328e21
5 changed files with 85 additions and 3 deletions

View File

@@ -3,4 +3,7 @@ import os
# Config is loaded statically at import time
class Config:
pass
RUN_ID = os.environ.get("RUN_ID", "")
SYNC_DELAY = float(os.environ.get("SYNC_DELAY", 1.0))
REDIS_URL = os.environ["REDIS_URL"]
SYNC_TIMEOUT = os.environ.get("SYNC_TIMEOUT", None) # Wait infinity by default