Use common cache default

This commit is contained in:
andig 2022-03-15 19:23:51 +00:00
parent 22ee58bbd0
commit 3537f2de50

View file

@ -57,7 +57,7 @@ func NewLgEssFromConfig(other map[string]interface{}) (api.Meter, error) {
URI, Usage, Password string
Cache time.Duration
}{
Cache: 2 * time.Second,
Cache: time.Second,
}
if err := util.DecodeOther(other, &cc); err != nil {