Skip to content

Commit

Permalink
Fix redbean "-1 workers remain" blemish
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Oct 13, 2023
1 parent 0e0398c commit bdc453b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/net/redbean.c
Original file line number Diff line number Diff line change
Expand Up @@ -4947,6 +4947,7 @@ static int LuaProgramTokenBucket(lua_State *L) {
int pid = fork();
npassert(pid != -1);
if (!pid) Replenisher();
++shared->workers;
return 0;
}

Expand Down

0 comments on commit bdc453b

Please sign in to comment.