Skip to content

Commit

Permalink
api/focus: Temporarily bump the timeout to 30s
Browse files Browse the repository at this point in the history
We're seeing disconnects on Windows when using Chrysalis with the Model 100.
From the debug logs, it looks like there is communication between the keyboard
and the host, but after a `keymap.custom` request, we end up back at the
keyboard selection screen.

That suggests we're triggering a timeout, so increasing it here will hopefully
help.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
  • Loading branch information
algernon committed May 31, 2022
1 parent 9b967d2 commit c0ca7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Focus {
this.commands = {
help: this._help,
};
this.timeout = 5000;
this.timeout = 30000;
this.debug = false;
this.logger = new Log();
this._supported_commands = [];
Expand Down

0 comments on commit c0ca7ba

Please sign in to comment.