Skip to content
Snippets Groups Projects
Unverified Commit cf002ef0 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

bugfix: readiness probe (#586)

parent 1abb9bc5
No related branches found
No related tags found
No related merge requests found
......@@ -160,8 +160,9 @@ app.use('/logo', require('./logo'))
app.use('/user', require('./user'))
app.get('/ready', async (req, res) => {
const authIsReady = await authReady()
const allReady = [
await authReady()
authIsReady
/**
* add other ready endpoints here
* call sig is await fn(): boolean
......
......@@ -15,7 +15,7 @@ const configureAuth = async (app) => {
const obj = await require('./util')()
const { initPassportJs } = obj
initPassportJs()
initPassportJs(app)
await retry(() => hbpOidc(app), { timeout: 1000, retries: 3 })
await retry(() => hbpOidc2(app), { timeout: 1000, retries: 3 })
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment