-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a timeout for socket connection #2791
Conversation
aww. 'Socket' does not contain a definition for 'BeginConnect' and no extension method 'BeginConnect' accepting a first argument of type 'Socket' could be found (are you missing a using directive or an assembly reference?) [D:\j\workspace\netstandard-w---f16d272e\vNext\src\Orleans\Orleans.csproj] without much investigation , I think in netstandard, Socket may not have an method of BeginConnect. You need to find an alternative for that |
Great... I Have to use the over complicated ConnectAsync for that... |
@dotnet-bot Test this please |
LGTM. |
Fix for #2788
It seems that the value by default is around 20 seconds.
I added a method in
SocketManager
to be able to specify a timeout from the configuration, and use it for client->gw and silo->silo socket connect.