mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 01:38:11 +08:00
Add custom SharedCounter / Queue
This will not fix anything related to Django 2.0 but will allow MAC users to run Django-Q allowing tests to be run locally.
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ import signal
|
||||
import socket
|
||||
import ast
|
||||
from time import sleep
|
||||
from multiprocessing import Queue, Event, Process, Value, current_process
|
||||
from multiprocessing import Event, Process, Value, current_process
|
||||
|
||||
# external
|
||||
import arrow
|
||||
@@ -30,7 +30,7 @@ from django_q.models import Task, Success, Schedule
|
||||
from django_q.status import Stat, Status
|
||||
from django_q.brokers import get_broker
|
||||
from django_q.signals import pre_execute
|
||||
|
||||
from django_q.queues import Queue
|
||||
|
||||
|
||||
class Cluster(object):
|
||||
|
||||
Reference in New Issue
Block a user