Skip to content

Commit

Permalink
change timeout to 100 for safety on slower machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin committed May 18, 2024
1 parent 334f882 commit b312c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowerful.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const debuglogging = true;
* This is how long flower waits in ms before setting up at the start
* This will need to be configurable on a per-game basis
*/
const timeout = 75;
const timeout = 100;

//#region flower_ctor

Expand Down

1 comment on commit b312c6a

@Crunchepillar
Copy link
Member

Choose a reason for hiding this comment

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

fixes #9 by introducing a 100ms timeout before flower finishes loading. Repeat testing shows this is the sweet spot between speed and reliability

Please sign in to comment.