Skip to content

Commit 284a35c

Browse files
committed
agent tests reworked
1 parent b81dcfb commit 284a35c

18 files changed

Lines changed: 38451 additions & 44178 deletions

autoadmin-ws-server/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ FROM node:22-alpine AS builder
22

33
WORKDIR /app
44

5-
COPY package.json yarn.lock ./
6-
RUN yarn install --frozen-lockfile
5+
COPY package.json ./
6+
RUN npm install
77

88
COPY tsconfig.json ./
99
COPY src ./src
1010

11-
RUN yarn build
11+
RUN npm run build
1212

1313
FROM node:22-alpine
1414

@@ -17,8 +17,8 @@ WORKDIR /app
1717
RUN addgroup -g 1001 -S nodejs && \
1818
adduser -S nodejs -u 1001
1919

20-
COPY package.json yarn.lock ./
21-
RUN yarn install --frozen-lockfile --production && yarn cache clean
20+
COPY package.json ./
21+
RUN npm install --omit=dev && npm cache clean --force
2222

2323
COPY --from=builder /app/dist ./dist
2424

autoadmin-ws-server/src/constants/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export const CONSTANTS = {
1212

1313
export const CACHE_OPTIONS = {
1414
WS_CONNECTIONS: {
15-
max: 5000,
15+
max: 6000,
1616
},
1717
TOKEN_RESULT: {
1818
max: 5000,
1919
ttl: 1000 * 60 * 5, // 5 minutes
2020
},
2121
RESPONSE: {
22-
max: 5000,
22+
max: 10000,
2323
ttl: 600000, // 10 minutes
2424
},
2525
} as const;

autoadmin-ws-server/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ __metadata:
647647
linkType: hard
648648

649649
"hono@npm:^4.6.14":
650-
version: 4.11.5
651-
resolution: "hono@npm:4.11.5"
652-
checksum: d4f59f7d5f28c0627a144a80fa66d7ed73638182307d8f2b3e4a5bb6a67dd423e1d0a3efcccc7b2e4a0dadd61192ece817024d5df887653e8c084f3315130e0d
650+
version: 4.11.7
651+
resolution: "hono@npm:4.11.7"
652+
checksum: 6dc49cc1ac8ae597bd7c67e317dbb3a04c12c02841d6b56735df6be1876700daaedebe16554422f90d99a1d8b7a8479af8d1572a6b77e6ce0957e7e3cd8fd529
653653
languageName: node
654654
linkType: hard
655655

0 commit comments

Comments
 (0)