Server: Add health check route (#26999)

* Server: Add health check route

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Server: Remove health check middleware

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-08-18 14:58:08 +02:00
committed by GitHub
parent f33158dcdf
commit a2fbffe48a
7 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"xorm.io/xorm"
)
// WithTransactionalDbSession calls the callback with an session within a transaction
// WithTransactionalDbSession calls the callback with a session within a transaction.
func (ss *SqlStore) WithTransactionalDbSession(ctx context.Context, callback dbTransactionFunc) error {
return inTransactionWithRetryCtx(ctx, ss.engine, callback, 0)
}