Merge pull request #993 from prometheus/fabxc/filesd_interval
Increase default retry interval for file SD
This commit is contained in:
commit
60967736fa
|
@ -91,7 +91,7 @@ var (
|
||||||
|
|
||||||
// The default file SD configuration.
|
// The default file SD configuration.
|
||||||
DefaultFileSDConfig = FileSDConfig{
|
DefaultFileSDConfig = FileSDConfig{
|
||||||
RefreshInterval: Duration(30 * time.Second),
|
RefreshInterval: Duration(5 * time.Minute),
|
||||||
}
|
}
|
||||||
|
|
||||||
// The default Consul SD configuration.
|
// The default Consul SD configuration.
|
||||||
|
|
|
@ -65,7 +65,7 @@ var expectedConf = &Config{
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Names: []string{"bar/*.yaml"},
|
Names: []string{"bar/*.yaml"},
|
||||||
RefreshInterval: Duration(30 * time.Second),
|
RefreshInterval: Duration(5 * time.Minute),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue