瀏覽代碼

[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)