@ -114,8 +114,9 @@ func (b *Bridge) SyncStale(ctx context.Context) error {
for i, input := range inputs {
index := indices[i]
inputCopy := input
eg.Go(func() error { return b.putLightState(ctx, index, input) })
eg.Go(func() error { return b.putLightState(ctx, index, inputCopy) })
}
return eg.Wait()