1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00

fixed example: only have 1 worker!

This commit is contained in:
Rene Schallner 2023-05-09 05:26:09 +02:00
parent 76c9edcd8e
commit c10b35777b

View file

@ -142,6 +142,6 @@ pub fn main() !void {
// start worker threads // start worker threads
zap.start(.{ zap.start(.{
.threads = 2, .threads = 2,
.workers = 2, .workers = 1,
}); });
} }