strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

Added sleep to retry loop #170

Closed BennyRe closed 7 years ago

BennyRe commented 8 years ago

Without the sleep the loop runs at maximum speed and produces many error messages. Today we had 15 GB filled with this single error message.

strands-jenkins commented 8 years ago

Can one of the STRANDS admins verify this patch? Post a comment containing "ok to test" to enable Jenkins builds for this pull request.

hawesie commented 8 years ago

But isn't that what the 5 does in the wait_for_service call? It waits 5 seconds for the service to appear, then throws an exception if not present. What do you mean by "maximum speed".

BennyRe commented 8 years ago

Your right it should wait 5 seconds but on our robot we got this error message with 10 kHz (in my eyes maximum speed)