Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Updating ApplicationConfiguration webTimeout from settings #750

Merged
merged 3 commits into from
May 15, 2018

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented May 15, 2018

As a result of my hasty decisions in #749.

I also realized that the ApplicationConfiguration.WebTimeout was never initialized with the value from settings.

@@ -42,6 +42,13 @@ protected void Initialize()
Platform = new Platform(Environment);

LogHelper.TracingEnabled = UserSettings.Get(Constants.TraceLoggingKey, false);

int webTimeout;
if (int.TryParse(UserSettings.Get(Constants.WebTimeoutKey), out webTimeout))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

settings will do the conversion for you - UserSettings.Get<int>(Constants.WebTimeoutKey)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@shana shana merged commit 192d515 into master May 15, 2018
@shana shana deleted the fixes/update-web-timeout-from-settings branch May 15, 2018 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants