Skip to content

Commit

Permalink
implemented MonitorThreadRefresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesueur Benjamin committed Feb 12, 2021
1 parent 55f69c7 commit 0f3b230
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions DockerForm/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
</ArrayOfString>
</value>
</setting>
<setting name="MonitorThreadRefresh" serializeAs="String">
<value>2000</value>
</setting>
</DockerForm.Properties.Settings>
</userSettings>
</configuration>
2 changes: 1 addition & 1 deletion DockerForm/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public static void VideoControllerMonitor(object data)
IsHardwarePending = false;
}

Thread.Sleep(500);
Thread.Sleep(MonitorThreadRefresh);
}
}

Expand Down
12 changes: 12 additions & 0 deletions DockerForm/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions DockerForm/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,8 @@
&lt;string&gt;Microsoft.ZuneVideo&lt;/string&gt;
&lt;/ArrayOfString&gt;</Value>
</Setting>
<Setting Name="MonitorThreadRefresh" Type="System.Int32" Scope="User">
<Value Profile="(Default)">2000</Value>
</Setting>
</Settings>
</SettingsFile>

0 comments on commit 0f3b230

Please sign in to comment.