|
|
@@ -31,6 +31,7 @@ import ( |
|
|
|
"code.gitea.io/gitea/modules/storage" |
|
|
|
"code.gitea.io/gitea/modules/task" |
|
|
|
"code.gitea.io/gitea/modules/webhook" |
|
|
|
"code.gitea.io/gitea/modules/worker" |
|
|
|
"code.gitea.io/gitea/services/mailer" |
|
|
|
mirror_service "code.gitea.io/gitea/services/mirror" |
|
|
|
pull_service "code.gitea.io/gitea/services/pull" |
|
|
@@ -61,6 +62,7 @@ func NewServices() { |
|
|
|
mailer.NewContext() |
|
|
|
_ = cache.NewContext() |
|
|
|
notification.NewContext() |
|
|
|
worker.Init() |
|
|
|
} |
|
|
|
|
|
|
|
// In case of problems connecting to DB, retry connection. Eg, PGSQL in Docker Container on Synology |
|
|
|