Add events #777

Merged
konrad merged 47 commits from feature/events into master 2021-02-02 22:48:38 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 7fd3322533 - Show all commits

View File

@ -48,9 +48,10 @@ func InitEvents() (err error) {
router.AddMiddleware(
middleware.Retry{
MaxRetries: 3,
MaxRetries: 5,
InitialInterval: time.Millisecond * 100,
Logger: logger,
Multiplier: 2,
}.Middleware,
middleware.Recoverer,
)

View File

@ -17,9 +17,10 @@
package models
import (
"encoding/json"
"code.vikunja.io/api/pkg/events"
"code.vikunja.io/api/pkg/log"
"encoding/json"
"github.com/ThreeDotsLabs/watermill/message"
)