Linting improvements
This commit is contained in:
2
packages/queue-manager/.eslintignore
Normal file
2
packages/queue-manager/.eslintignore
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules/
|
||||
build/
|
||||
6
packages/queue-manager/.eslintrc
Normal file
6
packages/queue-manager/.eslintrc
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"parserOptions": {
|
||||
"project": "tsconfig.json"
|
||||
}
|
||||
}
|
||||
@ -189,7 +189,7 @@ export const queueManager = Sentry.GCPFunction.wrapHttpFunction(
|
||||
async (req, res) => {
|
||||
try {
|
||||
if (req.query['check']) {
|
||||
checkMetricsAndPauseQueues()
|
||||
await checkMetricsAndPauseQueues()
|
||||
}
|
||||
res.send('ok')
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user