You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
The print statements from app.py appear in bursts, with long delays between bursts.
Even the initial "Starting rovercode service" print is delayed.
The problem seems to be only with printing -- the server still runs and responds to a GET on the / endpoint.
This does not seem to be related to @jeeshofone's logging changes in the upcoming systemd service installation. It happens now in the standard docker install.
Increasing the sensor polling period to 20 seconds did not improve the problem.
Commenting out all socketio.start_background_task() and socketio.run() made the problem go away.
Using the debugging server instead of eventlet behind socketio did not help.
This thread suggested sprinkling in some socketio.sleep(0)s to release the CPU. I put them a lot of places, with no effect.
That thread also suggested monkey_patching with eventlet. We should probably add that, but it didn't seem to fix the problem.