Skip to content

Commit

Permalink
Easee: replace hardcoded timeout with config value (evcc-io#10781)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimmiMeloni authored Nov 14, 2023
1 parent 2022247 commit e700027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/easee.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ func (c *Easee) waitForTickResponse(expectedTick int64) error {
}
return nil
}
case <-time.After(10 * time.Second):
case <-time.After(c.Client.Timeout):
return api.ErrTimeout
}
}
Expand Down

0 comments on commit e700027

Please sign in to comment.