Settings (harp.settings)¶
The Settings (harp.settings) module contains hardcoded configuration for Harp. This is probably only handy
for the young days of harp, and will be replaced by something less hard-coded later.
Contents¶
- DEFAULT_CLIENT_READ_TIMEOUT = 30.0¶
Seconds a client may stay silent in the middle of a request before the server hangs up.
- DEFAULT_MIN_REQUEST_BODY_RATE = 1024¶
Bytes per second a request body must average once the grace period is over.
- DEFAULT_REQUEST_BODY_GRACE_PERIOD = 10.0¶
Seconds during which a request body is not held to the minimum rate.
- DEFAULT_TIMEOUT = 30.0¶
Default timeout for http requests
- HARP_ENV = None¶
Force environment override (dev or prod)
- PAGE_SIZE = 40¶
Pagination size for api endpoints