mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
Oh yeah, the config option
This commit is contained in:
parent
75cf4fbb46
commit
717acb3e40
2 changed files with 4 additions and 2 deletions
|
@ -96,7 +96,9 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
|
|||
resp.Body.Close()
|
||||
}
|
||||
|
||||
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName)
|
||||
if Configuration.UseESLogStashing {
|
||||
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName)
|
||||
}
|
||||
|
||||
go authorizationJanitor()
|
||||
go bunchCacheJanitor()
|
||||
|
|
|
@ -31,7 +31,7 @@ type ConfigFile struct {
|
|||
SSLCertificateFile string
|
||||
SSLKeyFile string
|
||||
|
||||
UseElasticSearch bool
|
||||
UseESLogStashing bool
|
||||
ESServer string
|
||||
ESIndexPrefix string
|
||||
ESHostName string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue