Fix redbean "-1 workers remain" blemish

This commit is contained in:
Justine Tunney 2023-10-13 08:33:09 -07:00
parent 0e0398cd5d
commit bdc453b22d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -4947,6 +4947,7 @@ static int LuaProgramTokenBucket(lua_State *L) {
int pid = fork();
npassert(pid != -1);
if (!pid) Replenisher();
++shared->workers;
return 0;
}