Skip to content

Commit 2a225eb

Browse files
committed
fix: Extend "not get" supression timer
Currently the "not get" exception supression timer is 500ms, which is apparently too slow for some cases. Up it to 1s. Fixes #287
1 parent e779852 commit 2a225eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Buttplug.Apps.WebsocketServerGUI/WebsocketServerControl.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public WebsocketServerControl(IButtplugServerFactory bpFactory)
4747
_port = 12345;
4848

4949
// Usually, if we throw errors then connect, it's not actually an error.
50-
// If we don't connect after half a second of throwing an exception, pop the toaster, but not before then.
50+
// If we don't connect after a second of throwing an exception, pop the toaster, but not before then.
5151
_toastTimer = new Timer
5252
{
53-
Interval = 500,
53+
Interval = 1000,
5454
AutoReset = false,
5555
Enabled = false,
5656
};

0 commit comments

Comments
 (0)