perf(api): add bot events with buffer

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-12 20:51:54 +02:00
parent eb72047e9e
commit 46fe17e558
7 changed files with 115 additions and 42 deletions

View File

@@ -54,6 +54,7 @@ const startServer = async () => {
const fastify = Fastify({
maxParamLength: 15_000,
bodyLimit: 1048576 * 500, // 500MB
logger,
});
fastify.register(compress, {