OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
94 stars 25 forks source link

Make build_cmd timeout a variable that can be passed into call #1316

Open 321github123 opened 1 month ago

321github123 commented 1 month ago

First check out our main documentation site at https://openc3.com.

Is your feature request related to a problem? Please describe. The build_cmd call occasionally times out. When we rerun once or twice, then it succeeds.

Describe the solution you'd like In python/ruby build_cmd api call "openc3.script.build_cmd", expose a time out parameter with a default value.

Additional context image

JoshuaNeely commented 1 month ago

We manually increased timeout to 60s (building src code) and see the same intermittent error that made us think it was a timeout thing.

We might instead need to troubleshoot our redis connection... retry logic, etc. There's something else afoot

ryanmelt commented 1 month ago

Check the docker logs on the operator to see if there are any errors there.

JoshuaNeely commented 1 month ago

Nothing jumped out at me in the logs.

Current theory is our redis pod is maxing out it's memory allocation