Closed StoneMoe closed 1 year ago
Can you still reproduce the error without the flask-debug-api
panel loaded? It appears to be re-processing the set of URL rules before each request, which seems unnecessary and it might be leaking resources in some way that eventually fails.
Yes, I can reproduce this, but really hard to.
I found this issue is MUCH fewer times happened and longer time flask can run after removing flask-debug-api
panel.
The traceback in the first comment is the first time I ran flask after removing flask-debug-api
.
I'll try to investigate for more details when I run into this problem again.
Still no idea how to reproduce this, RecursionError just appear after running about 12hours. Only affect HTML pages and API works normally.
More:
Running with uwsgi
Using flask-debugtoolbar-mongo
Maybe related issue: https://github.com/kevinbeaty/flask-debug-api/issues/3