Use common cache default
This commit is contained in:
parent
22ee58bbd0
commit
3537f2de50
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue