eWaterCycle / eWaterCycle/remotebmi

Wait for server to be ready when starting container

Open
#45 1 comment 0 reactions 0 assignees View on GitHub
Python
Dominant language
Julia
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Some models take some time to start up, especially in Julia when many packages need to be loaded in. If you try to connect immediately, you will get an error. However, if you wait a few seconds things go fine.

It would be more user-friendly if there was a timeout and a check to see if the server is alive and reachable. This way we can make the python process wait (and thus communicate to users that the server isn't ready yet).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.