mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add a check param so we can avoid checks on container startup while deploying
This commit is contained in:
parent
d141fea977
commit
a6d3bb22b1
1 changed files with 3 additions and 1 deletions
|
|
@ -188,7 +188,9 @@ async function checkMetricsAndPauseQueues() {
|
|||
export const queueManager = Sentry.GCPFunction.wrapHttpFunction(
|
||||
async (req, res) => {
|
||||
try {
|
||||
checkMetricsAndPauseQueues()
|
||||
if (req.query['check']) {
|
||||
checkMetricsAndPauseQueues()
|
||||
}
|
||||
res.send('ok')
|
||||
} catch (e) {
|
||||
console.error('Error while parsing RSS feed', e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue