increase timeout

This commit is contained in:
Prashant Gupta 2021-08-19 12:01:17 -07:00
parent 7ecb9948fe
commit 42b7aea859
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ func (m *MouseMover) run(heartbeatCh chan *tracker.Heartbeat, activityTracker *t
msg := fmt.Sprintf("Mouse pointer cannot be moved at %v. Last moved at %v. Happened %v times. See README for details.", msg := fmt.Sprintf("Mouse pointer cannot be moved at %v. Last moved at %v. Happened %v times. See README for details.",
time.Now(), state.getLastMouseMovedTime(), state.getDidNotMoveCount()) time.Now(), state.getLastMouseMovedTime(), state.getDidNotMoveCount())
logger.Errorf(msg) logger.Errorf(msg)
if state.getDidNotMoveCount() >= 3 { if state.getDidNotMoveCount() >= 10 {
go func() { go func() {
robotgo.ShowAlert("Error with Automatic Mouse Mover", msg) robotgo.ShowAlert("Error with Automatic Mouse Mover", msg)
}() }()