wbtasks 1.59.3__py2.py3-none-any.whl → 1.59.5__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
wbtasks/tasks.py CHANGED
@@ -6,13 +6,14 @@ from celery import shared_task
6
6
  from django.db.models import Q
7
7
  from django.utils import timezone
8
8
  from wbcore.contrib.notifications.dispatch import send_notification
9
+ from wbcore.workers import Queue
9
10
 
10
11
  from wbtasks.models import Task
11
12
 
12
13
  NOTIFY_DUE_TASKS_INTERVAL_MINUTES = 60
13
14
 
14
15
 
15
- @shared_task
16
+ @shared_task(queue=Queue.DEFAULT.value)
16
17
  def notify_due_tasks(now=None, notification=None):
17
18
  if not now:
18
19
  now = timezone.now()
@@ -1,5 +1,5 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbtasks
3
- Version: 1.59.3
3
+ Version: 1.59.5
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: wbcore
@@ -5,7 +5,7 @@ wbtasks/factories.py,sha256=0Y-kT4vmwmdnUElHuLLXhyqyt-1RhL7w9yygj7AT2-Q,1178
5
5
  wbtasks/filters.py,sha256=erO6Tq9-TQwYfeEOHVcU_uXcGNk6IGB_0e4h4RElT14,1829
6
6
  wbtasks/models.py,sha256=O9P3TU9CBuVLWE8bo7Ms661ZfQP5yZy_VUoj7npndx4,7511
7
7
  wbtasks/serializers.py,sha256=XXozg4shilC2_I5xMjRAtbWjNXHDnyqmG3OtsCMntek,5462
8
- wbtasks/tasks.py,sha256=a_KwtWRjsCaYOlBAd1UUJA-PWI5l2q5BrixBW__C6OE,1316
8
+ wbtasks/tasks.py,sha256=Q4e-MHQc7kIJLNPv--y5hWBiihjsZzRgqhOJS-mpYtw,1376
9
9
  wbtasks/urls.py,sha256=VBqfKzBldaipJjmM1DD8dB6yT3HHVXT8DJ2jAjuKsiE,372
10
10
  wbtasks/locale/de/LC_MESSAGES/django.mo,sha256=FfQ5HV2xg7ZrJASidRJ4L-gCAbPNeQnFm940aRbb0js,378
11
11
  wbtasks/locale/de/LC_MESSAGES/django.po,sha256=6ayA6oJoyXV5gL5XIPmYMWFeZnbdvhBWHrfwhD207Ds,892
@@ -28,6 +28,6 @@ wbtasks/viewsets/display.py,sha256=RCV7xKlY9G_4OT6eqkjgdYWK-kWzKNmPnR4Av5gywvI,3
28
28
  wbtasks/viewsets/menu.py,sha256=xvwBp3V2fPMNtdk3KV_bfB4_8PLO4BWSErquwkU5spI,394
29
29
  wbtasks/viewsets/titles.py,sha256=mEIGvg7Kxz050T-3pKmzUjNfxLsSwsuEwSFKrmF_Sus,278
30
30
  wbtasks/viewsets/viewsets.py,sha256=_ZYki3S4mD9qLRTUZh-H6Q6tYbeUM99pDp7xlLyAn94,1212
31
- wbtasks-1.59.3.dist-info/METADATA,sha256=UygM2_14Pzf0DGOvTsQ4XhiJYY1_on6dNAoN0Hv7ffk,138
32
- wbtasks-1.59.3.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
33
- wbtasks-1.59.3.dist-info/RECORD,,
31
+ wbtasks-1.59.5.dist-info/METADATA,sha256=UzBOZdGWR4jbeQhh_l9j1P__1OITHPdihOLj8xAKXWA,138
32
+ wbtasks-1.59.5.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
33
+ wbtasks-1.59.5.dist-info/RECORD,,