Skip to content
Snippets Groups Projects
Commit 6fd47d43 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

linter pleasing

parent 901160fb
No related branches found
No related tags found
1 merge request!370Resolve "Error handling in event publishing via entity services could be improved"
Pipeline #111316 passed
This commit is part of merge request !370. Comments created here will be created in the context of that merge request.
......@@ -85,6 +85,7 @@ func (e *EventService) PublishEvent(topic string, event event.Event) error {
return nil
}
// RetryPublish is used to retry publishing an event after a failed attempt.
func (e *EventService) RetryPublish(topic string, event event.Event) error {
ctx := context.Background()
backOff := retry.NewConstant(2 * time.Second)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment