| 1 |
from django.core.management.base import BaseCommand |
| 2 |
from rq.suspension import resume |
| 3 |
|
| 4 |
from ...queues import get_connection |
| 5 |
|
| 6 |
|
| 7 |
class Command(BaseCommand): |
| 8 |
help = "Resume all queues." |
| 9 |
|
| 10 |
def handle(self, *args, **options): |
| 11 |
connection = get_connection() |
| 12 |
resume(connection) |