Skip to content

Remove timeout for wait-for command - #14

Open
veleek wants to merge 1 commit into
marcelcorso:masterfrom
veleek:patch-1
Open

Remove timeout for wait-for command#14
veleek wants to merge 1 commit into
marcelcorso:masterfrom
veleek:patch-1

Conversation

@veleek

@veleek veleek commented Oct 28, 2022

Copy link
Copy Markdown

The default timeout for wait-for is 15 seconds. If service startup happens to take a long time then the subscription setup portion fails but it doesn't shutdown the container or anything.

I think just setting the timeout to infinite is probably a good enough solution since it's likely that the emulator will startup eventually. A better solution could be to kill the emulator if it doesn't startup in time, but in that case I think you'd want the timeout to be configurable just in case someone has a REALLY slow startup.

The default timeout for `wait-for` is 15 seconds.  If service startup happens to take a long time then the subscription setup portion fails but it doesn't shutdown the container or anything.  

I think just setting the timeout to infinite is probably a good enough solution since it's likely that the emulator will startup eventually.  A better solution could be to kill the emulator if it doesn't startup in time, but in that case I think you'd want the timeout to be configurable just in case someone has a REALLY slow startup.
@rachid-o

rachid-o commented Nov 30, 2022

Copy link
Copy Markdown

In my docker compose it always failed the first time with: Operation timed out.
And after I stop/start the container it works fine.

For me it would be really help if either the container stops, or that the timeout is longer/configurable.

@veleek

veleek commented Mar 6, 2023

Copy link
Copy Markdown
Author

Ping on this again!

@chandler-barlow

Copy link
Copy Markdown

Pinging this again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants