Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Add possible options for web-module:
Browse files Browse the repository at this point in the history
- `address` - (string) host and port
- `disabled` - (bool) to disable server
- `read_timeout` - (duration) is the maximum duration for reading the entire request, including the body
- `read_header_timeout` - (duration) is the amount of time allowed to read request headers
- `write_timeout` - (duration) is the maximum duration before timing out writes of the response
- `idle_timeout` - (duration) is the maximum amount of time to wait for the next request when keep-alives are enabled
- `max_header_bytes` - (int) controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line
- `shutdown_timeout` - (duration) context timeout for stopping server
  • Loading branch information
im-kulikov committed Jun 15, 2019
1 parent 34f0626 commit 2627f2f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@ API_ADDRESS=string
API_SHUTDOWN_TIMEOUT=duration
```

**Possible options**:
- `address` - (string) host and port
- `disabled` - (bool) to disable server
- `read_timeout` - (duration) is the maximum duration for reading the entire request, including the body
- `read_header_timeout` - (duration) is the amount of time allowed to read request headers
- `write_timeout` - (duration) is the maximum duration before timing out writes of the response
- `idle_timeout` - (duration) is the maximum amount of time to wait for the next request when keep-alives are enabled
- `max_header_bytes` - (int) controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line
- `shutdown_timeout` - (duration) context timeout for stopping server

## Workers Module

Simple abstraction for control background jobs.
Expand Down

0 comments on commit 2627f2f

Please sign in to comment.