Make settings processing stateless

This commit is contained in:
lash
2022-05-24 15:58:02 +00:00
parent a1e08a1a05
commit ef9ee8054a
6 changed files with 93 additions and 81 deletions

View File

@@ -23,6 +23,7 @@ class CICFlag(enum.IntEnum):
# sync - nibble 4
SYNCER = 4096
SYNCER_RANGES = 8192
# server - nibble 5
SERVER=65536
@@ -32,4 +33,5 @@ argflag_local_task = CICFlag.CELERY
argflag_local_taskcallback = argflag_local_task | CICFlag.REDIS | CICFlag.REDIS_CALLBACK
argflag_local_chain = CICFlag.CHAIN
argflag_local_sync = CICFlag.SYNCER | CICFlag.CHAIN
argflag_local_sync_ranges = argflag_local_sync | CICFlag.SYNCER_RANGES
argflag_local_server = CICFlag.SERVER | CICFlag.REDIS | CICFlag.REDIS_CALLBACK | CICFlag.CELERY | Flag.CHAIN_SPEC