Skip to content

Node.js based forum software built for the modern web

fix: use thread instead of process for AP workerpool config

Julian Lam301f7c7b7887
diff --git a/src/activitypub/send.js b/src/activitypub/send.js
index 5b631d8934..5b4574e93f 100644
--- a/src/activitypub/send.js
+++ b/src/activitypub/send.js
@@ -16,7 +16,7 @@ SendPool._pool = workerpool.pool(
{
minWorkers: 4,
maxWorkers: Math.min(os.availableParallelism() * 2, 64),
- workerType: 'process',
+ workerType: 'thread',
forkOpts: { silent: true },
},
);