fix(queue-worker): remove concurrency entries when done in sentry-less branch

This commit is contained in:
Gergő Móricz 2024-09-26 20:29:17 +02:00
parent 53fce67ca1
commit d2881927c1

View File

@ -214,7 +214,9 @@ const workerFun = async (
() => {
processJobInternal(token, job)
.finally(() => {
if (job.id && job.data && job.data.team_id) {
redisConnection.zrem(concurrencyLimiterKey, job.id);
}
});
}
);