batching events

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-17 17:13:07 +02:00
committed by Carl-Gerhard Lindesvärd
parent 244aa3b0d3
commit 5e225b7ae6
58 changed files with 2204 additions and 583 deletions

View File

@@ -30,7 +30,7 @@ const config = {
experimental: {
// Avoid "Critical dependency: the request of a dependency is an expression"
serverComponentsExternalPackages: ['bullmq', 'ioredis'],
instrumentationHook: true,
instrumentationHook: !!process.env.ENABLE_INSTRUMENTATION_HOOK,
},
/**
* If you are using `appDir` then you must comment the below `i18n` config out.