task_done()调用了太多次

时间:2017-05-06 04:13:01

标签: python flask flask-socketio greenlets

你好堆栈溢出的人!

我目前在Flask / Socketio应用程序中每隔一段时间就会出现此错误,而且我还不知道从哪里开始调试或者它意味着什么:

Traceback (most recent call last):
  File "/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
  File "/lib/python2.7/site-packages/engineio/socket.py", line 167, in writer
  File "/lib/python2.7/site-packages/engineio/socket.py", line 37, in poll
  File "/lib/python2.7/site-packages/gevent/queue.py", line 470, in task_done
ValueError: task_done() called too many times

当它发生时似乎没有任何押韵或理由。

0 个答案:

没有答案