Skip to content

Commit

Permalink
fix: Extend "not get" supression timer
Browse files Browse the repository at this point in the history
Currently the "not get" exception supression timer is 500ms, which is
apparently too slow for some cases. Up it to 1s.

Fixes #287
  • Loading branch information
qdot committed Sep 15, 2017
1 parent e779852 commit 2a225eb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -47,10 +47,10 @@ public WebsocketServerControl(IButtplugServerFactory bpFactory)
_port = 12345;

// Usually, if we throw errors then connect, it's not actually an error.
// If we don't connect after half a second of throwing an exception, pop the toaster, but not before then.
// If we don't connect after a second of throwing an exception, pop the toaster, but not before then.
_toastTimer = new Timer
{
Interval = 500,
Interval = 1000,
AutoReset = false,
Enabled = false,
};
Expand Down

0 comments on commit 2a225eb

Please sign in to comment.