mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
fixed example: only have 1 worker!
This commit is contained in:
parent
76c9edcd8e
commit
c10b35777b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue