diff options
author | 2022-02-04 20:50:21 -0800 | |
---|---|---|
committer | 2022-02-04 20:50:21 -0800 | |
commit | dabcac2e96e67356e89e7fb57f6acc62cd6a47a9 (patch) | |
tree | 53dc7668c5a2d97dd983711973f99c4df312f80f /src/thread_pool.zig | |
parent | c03b7a6f19044e37985128a9e1751a8dc82f13fc (diff) | |
download | bun-dabcac2e96e67356e89e7fb57f6acc62cd6a47a9.tar.gz bun-dabcac2e96e67356e89e7fb57f6acc62cd6a47a9.tar.zst bun-dabcac2e96e67356e89e7fb57f6acc62cd6a47a9.zip |
Several reliability improvements to HTTP
Diffstat (limited to 'src/thread_pool.zig')
-rw-r--r-- | src/thread_pool.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread_pool.zig b/src/thread_pool.zig index 166705a81..c398151ca 100644 --- a/src/thread_pool.zig +++ b/src/thread_pool.zig @@ -122,6 +122,10 @@ pub fn schedule(self: *ThreadPool, batch: Batch) void { self.run_queue.push(list); } + forceSpawn(self); +} + +pub fn forceSpawn(self: *ThreadPool) void { // Try to notify a thread const is_waking = false; return self.notify(is_waking); |