Commit 6c70e2d5 authored by David Seaward's avatar David Seaward

add subscription tasks, add legacy task (to flush queue)

parent f0240888
This diff is collapsed.
...@@ -7,12 +7,12 @@ from .task_resources import tunnel_subscription ...@@ -7,12 +7,12 @@ from .task_resources import tunnel_subscription
@shared_task @shared_task
def tunnel_refresh_subscription(): def tunnel_refresh_subscription():
tunnel_subscription.do_nothing() tunnel_subscription.monitor_woosub1_renewals()
@shared_task @shared_task
def tunnel_new_subscription(): def tunnel_new_subscription():
pass tunnel_subscription.monitor_woosub1_new_subscriptions()
@shared_task @shared_task
...@@ -28,3 +28,10 @@ def deactivate_all_expired_limits(): ...@@ -28,3 +28,10 @@ def deactivate_all_expired_limits():
@shared_task @shared_task
def debug_connection_task(): def debug_connection_task():
common.debug_connection_task() common.debug_connection_task()
def monitor_woo1():
# keep legacy task header so that it is flushed out of queue
# FIXME: this will be removed in the next release
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment