v0.4.1
This commit is contained in:
1 parent
439cc20dcf
commit
722a49f6bc
14 files changed
+564
-283
No files matched your search
@@ -28,7 +28,6 @@ type Config struct {
|
||||
TSQueryTimeout time.Duration
|
||||
RRDTool string
|
||||
RRDPath string
|
||||
GraphDir string
|
||||
StatsInterval time.Duration
|
||||
|
||||
// Per-IP rate limiting. Off by default -- see README "Rate limiting"
|
||||
@@ -90,7 +89,6 @@ func Load() (Config, error) {
|
||||
|
||||
c.RRDTool = env("RRDTOOL", "rrdtool")
|
||||
c.RRDPath = env("RRD_PATH", "/var/lib/ts3monolith/linuxiarz.rrd")
|
||||
c.GraphDir = env("GRAPH_DIR", "/var/lib/ts3monolith/graphs")
|
||||
c.StatsInterval, err = envDuration("STATS_INTERVAL", time.Minute)
|
||||
if err != nil {
|
||||
return c, err
|
||||
|
||||
Reference in new issue
Block a user