Skip to content

Commit e82e945

Browse files
authored
Merge pull request #1627 from github-throwaway/develop
Document behavior of excess requests in server
2 parents f940490 + d4fabb5 commit e82e945

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/Tutorials/Threading/ServerThreads.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ Start-PodeServer -Threads 2 {
99
```
1010

1111
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

Comments
 (0)