mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +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();
|
||||
npassert(pid != -1);
|
||||
if (!pid) Replenisher();
|
||||
++shared->workers;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue