mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 08:24:11 +00:00
increase timeout
This commit is contained in:
parent
7ecb9948fe
commit
42b7aea859
@ -31,7 +31,7 @@ func (m *MouseMover) Start() {
|
||||
activityTracker := &tracker.Instance{
|
||||
HeartbeatInterval: heartbeatInterval,
|
||||
WorkerInterval: workerInterval,
|
||||
//LogLevel: "debug", //if we want verbose logging
|
||||
// LogLevel: "debug", //if we want verbose logging
|
||||
}
|
||||
|
||||
heartbeatCh := activityTracker.Start()
|
||||
@ -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.",
|
||||
time.Now(), state.getLastMouseMovedTime(), state.getDidNotMoveCount())
|
||||
logger.Errorf(msg)
|
||||
if state.getDidNotMoveCount() >= 3 {
|
||||
if state.getDidNotMoveCount() >= 10 {
|
||||
go func() {
|
||||
robotgo.ShowAlert("Error with Automatic Mouse Mover", msg)
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user