Skip to content

Commit

Permalink
rename comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BaozhenChen committed Jul 25, 2023
1 parent 4ee6421 commit b7af517
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cron_lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def _start():
for base_func, scheduler in scheduler_map.items():
print("Registering Job:", base_func.__name__)
t = threading.Thread(target=_run_sched, args=(scheduler, ), daemon=True)
# 有些task非常耗时,会影响退出。目前设计改为退出时不保证task完成
# some tasks were slow and may block exiting. Using daemon=True to avoid it but notice the job may not be done
# during upgrading, unless you use signal handlers to handle SIGINT and SIGTERM etc
t.start()
tl.append(t)

Expand Down

0 comments on commit b7af517

Please sign in to comment.