You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Tutorials/Threading/ServerThreads.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,6 @@ Start-PodeServer -Threads 2 {
9
9
```
10
10
11
11
The number of threads supplied only applies to Web, SMTP, and TCP servers. If `-Threads` is not supplied, or is <=0 then the number of threads is forced to the default of 1.
12
+
13
+
## Behavior of excess requests
14
+
If all threads are currently processing a request, and new requests hit the server, then they will be blocked/queued until a thread is available to process the request. If the request is blocked for >30s (customisable via request [`Timeout`](../../RequestLimits/#timeout) in the [`server.psd1`](../../Configuration/) file) then the server will timeout/terminate the request and respond with an HTTP 408 status code.
0 commit comments