Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5cf30ea4b |
@@ -63,7 +63,7 @@ func (b *Bridge) Run(ctx context.Context, eventCh chan<- models.Event) error {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err()
|
||||
case <-lightRefreshTimer.C:
|
||||
if time.Since(lastUpdate) < time.Second*10 {
|
||||
if time.Since(lastUpdate) < time.Second*2 {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user