1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-31 06:58:30 +00:00

switch to gorilla/websocket, post aggregate data

This commit is contained in:
Kane York 2015-10-28 15:19:22 -07:00
parent 9c4891db9f
commit 9f1c369fdb
7 changed files with 192 additions and 112 deletions

View file

@ -214,7 +214,7 @@ func SendTimedBacklogMessages(client *ClientInfo, disconnectTime time.Time) {
client.Mutex.Unlock()
}
func TimedBacklogJanitor() {
func backlogJanitor() {
for {
time.Sleep(1 * time.Hour)
CleanupTimedBacklogMessages()