diff --git a/internal/rms/runner.go b/internal/rms/runner.go index 3fe70a4..299d21a 100644 --- a/internal/rms/runner.go +++ b/internal/rms/runner.go @@ -67,11 +67,11 @@ func (r *Runner) processEvents() error { id := e.Car().Id() if id > 0 { if c, ok, _ := r.cars.Get(id); ok { - c.UpdateFromEvent(e) + go c.UpdateFromEvent(e) } } } - r.race.UpdateFromEvent(e) + go r.race.UpdateFromEvent(e) log.Tracef("processing time: %s", time.Now().Sub(start)) } }