mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 10:58:12 +08:00
Adds psutil support for max_rss on other platforms
This commit is contained in:
+1
-12
@@ -3,15 +3,4 @@ VERSION = (1, 3, 1)
|
||||
default_app_config = "django_q.apps.DjangoQConfig"
|
||||
|
||||
|
||||
__all__ = ["conf", "cluster", "models", "tasks", "croniter"]
|
||||
|
||||
# Optional Imports
|
||||
try:
|
||||
from croniter import croniter
|
||||
except ImportError:
|
||||
croniter = None
|
||||
|
||||
try:
|
||||
import resource
|
||||
except ModuleNotFoundError:
|
||||
resource = None
|
||||
__all__ = ["conf", "cluster", "models", "tasks"]
|
||||
|
||||
Reference in New Issue
Block a user