mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 06:08:12 +08:00
adds queue_size()
returns the size of the current redis queue
This commit is contained in:
@@ -4,7 +4,7 @@ import sys
|
||||
myPath = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, myPath)
|
||||
|
||||
from .tasks import async, schedule, result, result_group, fetch, fetch_group, count_group, delete_group
|
||||
from .tasks import async, schedule, result, result_group, fetch, fetch_group, count_group, delete_group, queue_size
|
||||
from .models import Task, Schedule, Success, Failure
|
||||
from .cluster import Cluster
|
||||
from .monitor import Stat
|
||||
|
||||
Reference in New Issue
Block a user