Skip to content

Commit b268b5b

Browse files
committed
refactor: cleaner producer
1 parent 0d1d467 commit b268b5b

File tree

10 files changed

+2232
-662
lines changed

10 files changed

+2232
-662
lines changed

apps/basket/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test:utils": "bun test src/utils/*.test.ts",
1212
"test:kafka": "bun test src/lib/kafka.test.ts src/lib/producer.test.ts",
1313
"test:coverage": "bun test --coverage",
14-
"test:stress": "bun test src/lib/kafka-stress.test.ts",
14+
"stress:suite": "bun run src/lib/kafka-stress.ts",
1515
"stress:light": "bun run src/lib/kafka-stress-cli.ts 1000 10 100 1",
1616
"stress:medium": "bun run src/lib/kafka-stress-cli.ts 5000 10 250 1",
1717
"stress:heavy": "bun run src/lib/kafka-stress-cli.ts 10000 10 500 1",
@@ -37,6 +37,7 @@
3737
"@logtail/pino": "catalog:",
3838
"@maxmind/geoip2-node": "^6.1.0",
3939
"@types/ua-parser-js": "^0.7.39",
40+
"async-mutex": "^0.5.0",
4041
"autumn-js": "catalog:",
4142
"dayjs": "catalog:",
4243
"elysia": "catalog:",

0 commit comments

Comments
 (0)