mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 14:58:12 +08:00
moved static methods to module functions
medic is now sentinel and runs in it's own process sentinel shutdown procedure more stable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import time
|
||||
|
||||
# simple countdown
|
||||
def count(n):
|
||||
def countdown(n):
|
||||
start_time = time.time()
|
||||
while n > 0:
|
||||
n -= 1
|
||||
|
||||
Reference in New Issue
Block a user