Browse Source

Reduce the amount of chat backlog we keep.

pull/1821/head
Gabe Kangas 3 years ago committed by GitHub
parent
commit
339d596fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/chat/persistence.go

2
core/chat/persistence.go

@ -15,7 +15,7 @@ import ( @@ -15,7 +15,7 @@ import (
var _datastore *data.Datastore
const (
maxBacklogHours = 5 // Keep backlog max hours worth of messages
maxBacklogHours = 2 // Keep backlog max hours worth of messages
maxBacklogNumber = 50 // Return max number of messages in history request
)

Loading…
Cancel
Save