Skip to content

Wait for complete server channel close - #161

Merged
eolivelli merged 1 commit into
masterfrom
fix/wait-for-channel-close
Sep 12, 2019
Merged

eolivelli merged 1 commit into
masterfrom
fix/wait-for-channel-close

Conversation

@diegosalvi

Copy link
Copy Markdown
Contributor

Currently server channel.close is invoked but then there isn't any wait of real channel close.

This patch add a little wait timeout (up to 10 seconds) to wait such close.

Waiting for complete close can solve "bind(..) failed: Address already in use" errors while fast closing and starting a new instance of a cache server

@eolivelli
eolivelli merged commit 08e2545 into master Sep 12, 2019
@eolivelli
eolivelli deleted the fix/wait-for-channel-close branch September 12, 2019 14:02
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.

2 participants