Skip to content

Commit

Permalink
尝试修复运行超时数据库链接断开问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Apr 16, 2024
1 parent e4a46e7 commit 9880b93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions domain_admin/service/scheduler_service/scheduler_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def get_monitor_task_next_run_time():
return monitor_task.next_run_time


@db.connection_context()
def run_monitor_task():
next_run_time = monitor_service.run_monitor_task()

Expand Down

0 comments on commit 9880b93

Please sign in to comment.