Smart hit assignation and chain monitoring
This commit is contained in:
@@ -42,7 +42,8 @@ async def get_config():
|
||||
"HIT_CHECK_INTERVAL": config_module.HIT_CHECK_INTERVAL,
|
||||
"REASSIGN_DELAY": config_module.REASSIGN_DELAY,
|
||||
"ASSIGNMENT_TIMEOUT": config_module.ASSIGNMENT_TIMEOUT,
|
||||
"ASSIGNMENT_REMINDER": config_module.ASSIGNMENT_REMINDER
|
||||
"ASSIGNMENT_REMINDER": config_module.ASSIGNMENT_REMINDER,
|
||||
"CHAIN_TIMER_THRESHOLD": config_module.CHAIN_TIMER_THRESHOLD
|
||||
}
|
||||
else:
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
@@ -81,7 +82,8 @@ async def update_config(req: ConfigUpdateRequest):
|
||||
"HIT_CHECK_INTERVAL": config_module.HIT_CHECK_INTERVAL,
|
||||
"REASSIGN_DELAY": config_module.REASSIGN_DELAY,
|
||||
"ASSIGNMENT_TIMEOUT": config_module.ASSIGNMENT_TIMEOUT,
|
||||
"ASSIGNMENT_REMINDER": config_module.ASSIGNMENT_REMINDER
|
||||
"ASSIGNMENT_REMINDER": config_module.ASSIGNMENT_REMINDER,
|
||||
"CHAIN_TIMER_THRESHOLD": config_module.CHAIN_TIMER_THRESHOLD
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user