Commit 5a4a29e7 by Guba Sándor

periodic tasks: added ignore-result to prevent massive queue stuck

parent d400a069
......@@ -4,7 +4,7 @@ import django.conf
settings = django.conf.settings.FIREWALL_SETTINGS
@celery.task
@celery.task(ignore_result=True)
def periodic_task():
from firewall.fw import Firewall, dhcp, dns, ipset, vlan
import remote_tasks
......
......@@ -2,7 +2,7 @@ from manager.mancelery import celery
from vm.models import Node
@celery.task
@celery.task(ignore_result=True)
def update_domain_states():
nodes = Node.objects.filter(enabled=True).all()
for node in nodes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment