mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +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()
|
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 authorizationJanitor()
|
||||||
go bunchCacheJanitor()
|
go bunchCacheJanitor()
|
||||||
|
|
|
@ -31,7 +31,7 @@ type ConfigFile struct {
|
||||||
SSLCertificateFile string
|
SSLCertificateFile string
|
||||||
SSLKeyFile string
|
SSLKeyFile string
|
||||||
|
|
||||||
UseElasticSearch bool
|
UseESLogStashing bool
|
||||||
ESServer string
|
ESServer string
|
||||||
ESIndexPrefix string
|
ESIndexPrefix string
|
||||||
ESHostName string
|
ESHostName string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue