3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

increase write interval for lastSeen

This commit is contained in:
Shivaram Lingamneni 2020-06-26 18:03:39 -04:00
parent 9aa53aa3aa
commit e22adf47ca

View File

@ -34,7 +34,7 @@ const (
maxDeviceIDsPerClient = 64
// controls how often often we write an autoreplay-missed client's
// deviceid->lastseentime mapping to the database
lastSeenWriteInterval = time.Minute * 10
lastSeenWriteInterval = time.Hour
)
// ResumeDetails is a place to stash data at various stages of