Переглянути джерело

[Stress] Remove unused periodic_task

Ask Solem 9 роки тому
батько
коміт
fd2f712f1b
1 змінених файлів з 0 додано та 5 видалено
  1. 0 5
      funtests/stress/stress/app.py

+ 0 - 5
funtests/stress/stress/app.py

@@ -175,8 +175,3 @@ def marker(s, sep='-'):
             return _marker.delay(s, sep)
         except Exception as exc:
             print("Retrying marker.delay(). It failed to start: %s" % exc)
-
-
-@app.on_after_configure.connect
-def setup_periodic_tasks(sender, **kwargs):
-    sender.add_periodic_task(10, add.s(2, 2), expires=10)