From 339d596fd33ab88303837361411354d3b831e35f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 29 Apr 2022 18:30:54 -0700 Subject: [PATCH] Reduce the amount of chat backlog we keep. --- core/chat/persistence.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chat/persistence.go b/core/chat/persistence.go index c03b5ae48..cfc9c336c 100644 --- a/core/chat/persistence.go +++ b/core/chat/persistence.go @@ -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 )