mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Run the cleaner on startup
This commit is contained in:
parent
5dae70069b
commit
a1b5e48529
@ -220,6 +220,7 @@ func main() {
|
||||
})
|
||||
|
||||
go h2.StartV2Pollers()
|
||||
go h2.Store.Cleaner(time.Hour)
|
||||
if args[EnvOTLP] != "" {
|
||||
h3 = otelhttp.NewHandler(h3, "Sync")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user