Reduce heartbeat interval from 120 seconds to 90 seconds for improved responsiveness
This commit is contained in:
@@ -81,8 +81,8 @@ void initHeartbeat() {
|
||||
print("Error sending heartbeat: $e");
|
||||
}
|
||||
|
||||
// Wait 120 seconds (2 minutes) before sending the next heartbeat
|
||||
await Future.delayed(Duration(seconds: 120));
|
||||
// Wait 90 seconds (1.5 minutes) before sending the next heartbeat
|
||||
await Future.delayed(Duration(seconds: 90));
|
||||
}
|
||||
|
||||
}, null);
|
||||
|
||||
Reference in New Issue
Block a user