-
Notifications
You must be signed in to change notification settings - Fork 922
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
Port thread scheduler and servicehost from UA .NET legacy. #1389
Conversation
In RequestQueue class constructor the threadpool configuration has been added in order to handle the minThreadCount and maxThreadCount parameters. Those parameters are the ones coming from the server config .xml (MinRequestThreadCount, MaxRequestThreadCount) and at the moment are not handled in the code. This modification allows correct setting of the threadpool so that the server can work with the specified parameters, thus improving performances in a multiclient environment. Co-Authored-By: macheronte <79026457+macheronte@users.noreply.github.com>
In RequestQueue class constructor the threadpool configuration has been added in order to handle the minThreadCount and maxThreadCount parameters. Those parameters are the ones coming from the server config .xml (MinRequestThreadCount, MaxRequestThreadCount) and at the moment are not handled in the code. This modification allows correct setting of the threadpool so that the server can work with the specified parameters, thus improving performances in a multiclient environment. Co-Authored-By: macheronte <79026457+macheronte@users.noreply.github.com> Co-authored-by: Nyphus <83399280+Nyphus@users.noreply.github.com> Co-authored-by: macheronte <79026457+macheronte@users.noreply.github.com>
Hi @Nyphus I ported the .NET legacy thread scheduler back, it should provide better perf, please test if this fix is also a solution... |
.editorconfig
Outdated
# CA3075: Insecure DTD processing in XML | ||
dotnet_diagnostic.CA3075.severity = warning | ||
|
||
# RCS1090: Add call to 'ConfigureAwait' (or vice versa) | ||
dotnet_diagnostic.RCS1090.severity = warning | ||
dotnet_diagnostic.RCS1090.severity = silent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
caused false warnings in winforms code, where ConfigureAwait cannot be used.
This pull request introduces 1 alert and fixes 4 when merging 782be8b into 7e736d2 - view on LGTM.com new alerts:
fixed alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
set { m_endpointDescription = value; } | ||
} | ||
|
||
/// <summary> | ||
/// The types known to the server. | ||
/// Returns the errr of the server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo - error instead of errr
This pull request introduces 1 alert and fixes 4 when merging 5111599 into 323c8c9 - view on LGTM.com new alerts:
fixed alerts:
|
In RequestQueue class constructor the threadpool configuration has been added
in order to handle the minThreadCount and maxThreadCount parameters.
Those parameters are the ones coming from the server config .xml
(MinRequestThreadCount, MaxRequestThreadCount) and at the moment
are not handled in the code.
This modification allows correct setting of the threadpool so that the server can work
with the specified parameters, thus improving performances in a multiclient environment.
Co-Authored-By: macheronte 79026457+macheronte@users.noreply.github.com