mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Fix redbean "-1 workers remain" blemish
This commit is contained in:
parent
0e0398cd5d
commit
bdc453b22d
1 changed files with 1 additions and 0 deletions
|
@ -4947,6 +4947,7 @@ static int LuaProgramTokenBucket(lua_State *L) {
|
||||||
int pid = fork();
|
int pid = fork();
|
||||||
npassert(pid != -1);
|
npassert(pid != -1);
|
||||||
if (!pid) Replenisher();
|
if (!pid) Replenisher();
|
||||||
|
++shared->workers;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue