Merge pull request #3485 from omnivore-app/fix/queue-processor-lifecycle-typo

Fix typo in lifecycle endpoint path
This commit is contained in:
Jackson Harper 2024-02-01 20:35:30 +08:00 committed by GitHub
commit 179b2c8604
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -142,7 +142,7 @@ const main = async () => {
// respond healthy to auto-scaler.
app.get('/_ah/health', (req, res) => res.sendStatus(200))
app.get('/lifecyle/prestop', async (req, res) => {
app.get('/lifecycle/prestop', async (req, res) => {
logger.info('prestop lifecycle hook called.')
await worker.close()
res.sendStatus(200)