Reduce the amount of chat backlog we keep.
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
|||||||
var _datastore *data.Datastore
|
var _datastore *data.Datastore
|
||||||
|
|
||||||
const (
|
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
|
maxBacklogNumber = 50 // Return max number of messages in history request
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user