Skip to content

Commit

Permalink
Merge pull request #817 from AlinMoldovean/master
Browse files Browse the repository at this point in the history
Client keep-alive fix
  • Loading branch information
AlinMoldovean authored Oct 3, 2019
2 parents 15eab5e + 1486958 commit 28614a0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SampleApplications/SDK/Opc.Ua.Client/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3564,12 +3564,6 @@ private void OnKeepAlive(object state)
}
}

// limit the number of keep alives sent.
if (OutstandingRequestCount > SubscriptionCount + 10)
{
return;
}

RequestHeader requestHeader = new RequestHeader();

requestHeader.RequestHandle = Utils.IncrementIdentifier(ref m_keepAliveCounter);
Expand Down

0 comments on commit 28614a0

Please sign in to comment.