]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Powerbot: sync weekly only.
authorRudolf Polzer <divVerent@gmail.com>
Sat, 30 Sep 2023 10:51:29 +0000 (12:51 +0200)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 30 Sep 2023 10:51:44 +0000 (12:51 +0200)
misc/infrastructure/powerbot/bot.go

index e62906e8a2dac1f9b230dfc178c64b9911155100..1369482f4ec8cb2b923b188cde5356a2541b3254 100644 (file)
@@ -15,7 +15,7 @@ import (
 
 const (
        syncInterval       = time.Minute
-       syncForceFrequency = 24 * 60
+       syncForceFrequency = 7 * 24 * time.Hour /syncInterval
 )
 
 type Config struct {