3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +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 maxDeviceIDsPerClient = 64
// controls how often often we write an autoreplay-missed client's // controls how often often we write an autoreplay-missed client's
// deviceid->lastseentime mapping to the database // deviceid->lastseentime mapping to the database
lastSeenWriteInterval = time.Minute * 10 lastSeenWriteInterval = time.Hour
) )
// ResumeDetails is a place to stash data at various stages of // ResumeDetails is a place to stash data at various stages of