fix(GODT-2909): Remove Timeout on event publish

While good intentioned, this change causes issues when the computer goes
to sleep and a user resumes after the timeout interval.
This commit is contained in:
Leander Beernaert
2023-09-11 09:53:50 +02:00
parent 6269b1ab88
commit 7689139cb3
3 changed files with 7 additions and 76 deletions

View File

@ -338,7 +338,7 @@ func (s *Service) handleEvent(ctx context.Context, lastEventID string, event pro
s.log.Info("Received refresh event")
}
return s.subscriberList.PublishParallel(ctx, event, s.panicHandler, s.eventTimeout)
return s.subscriberList.PublishParallel(ctx, event, s.panicHandler)
}
func unpackPublisherError(err error) (string, error) {