Skip to content

Commit faa45a8

Browse files
committed
Update Dockerfile to include python3 and clean up backend-runner service imports
1 parent abeeda4 commit faa45a8

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ RUN apt clean -y \
4848
git \
4949
jq \
5050
nano \
51-
openssl
51+
openssl \
52+
python3
5253

5354
RUN yarn install \
5455
--prefer-offline \

src/backend-runner/_interfaces/backend-codes.enum.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* @see https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
88
*/
99
export enum BackendCodesEnumError {
10-
GENERIC_ERROR = 1 << 0,
11-
GENERIC_STOPPED = 1 << 1,
12-
CONNECTION_ERROR = 1 << 2,
13-
INVALID_LOGIN = 1 << 3,
14-
INVALID_CREDENTIALS = 1 << 4,
15-
INVALID_JSON_RESPONSE = 1 << 5,
10+
GENERIC_ERROR = 1 << 0, // 1
11+
GENERIC_STOPPED = 1 << 1, // 2
12+
CONNECTION_ERROR = 1 << 2, // 4
13+
INVALID_LOGIN = 1 << 3, // 8
14+
INVALID_CREDENTIALS = 1 << 4, // 16
15+
INVALID_JSON_RESPONSE = 1 << 5, // 32
1616
}
1717

1818
export enum BackendCodesEnumSuccess {

src/backend-runner/backend-runner.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { InjectRedis } from '@nestjs-modules/ioredis';
22
import { Injectable, Logger, OnApplicationBootstrap, OnModuleInit } from '@nestjs/common';
33
import { ConfigService } from '@nestjs/config';
4-
import { UnrecoverableError, Worker } from 'bullmq';
4+
import { Worker } from 'bullmq';
55
import { CatchAllExecutor } from './_executors/catch-all.executor';
66
import { ListBackendsExecutor } from './_executors/list-backends.executor';
77
import { ExecutorExecuteResponseInterface, ExecutorInterface } from './executors.interface';

0 commit comments

Comments
 (0)