more frequent jobs
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 6s
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 6s
This commit is contained in:
parent
8dfc2e7c33
commit
05f45f84f1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def generate_batch_jobs():
|
|||
for powerbar in powerbars:
|
||||
if powerbars[powerbar]['method'] == 'batch_telnet':
|
||||
if powerbars[powerbar]['type'] == 'baytech':
|
||||
scheduler.add_job(f"baytech-batch-update-job-{powerbar}", baytech_batch_update, args=[powerbar], trigger='interval', seconds=3, max_instances=1)
|
||||
scheduler.add_job(f"baytech-batch-update-job-{powerbar}", baytech_batch_update, args=[powerbar], trigger='interval', seconds=1, max_instances=1)
|
||||
|
||||
def baytech_batch_update(powerbar):
|
||||
print(f"Running Sync Job: {powerbar}")
|
||||
|
|
Loading…
Reference in a new issue