DeliveryRetryJob
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"blackforestbytes.com/simplecloudnotifier/common/ginext"
|
||||
"blackforestbytes.com/simplecloudnotifier/db"
|
||||
"blackforestbytes.com/simplecloudnotifier/firebase"
|
||||
"blackforestbytes.com/simplecloudnotifier/jobs"
|
||||
"blackforestbytes.com/simplecloudnotifier/logic"
|
||||
"fmt"
|
||||
"github.com/rs/zerolog/log"
|
||||
@@ -36,7 +37,9 @@ func main() {
|
||||
|
||||
fb := firebase.NewFirebaseApp()
|
||||
|
||||
app.Init(conf, ginengine, &fb)
|
||||
jobRetry := jobs.NewDeliveryRetryJob(app)
|
||||
|
||||
app.Init(conf, ginengine, &fb, []logic.Job{jobRetry})
|
||||
|
||||
router.Init(ginengine)
|
||||
|
||||
|
Reference in New Issue
Block a user