1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00

Re-add bunched request caching with a lazy janitor

And this time, only one lock is held at a time during the response.
This commit is contained in:
Kane York 2015-11-15 15:52:37 -08:00
parent 377afb7a6b
commit d518759fa0
2 changed files with 81 additions and 4 deletions

View file

@ -73,9 +73,10 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
resp.Body.Close()
}
go pubsubJanitor()
go backlogJanitor()
go authorizationJanitor()
go backlogJanitor()
go bunchCacheJanitor()
go pubsubJanitor()
go sendAggregateData()
go ircConnection()