Ismail Khoffi
1e3469789d
Ensure WriteTimeout > TimeoutBroadcastTxCommit (#3443)
* Make sure config.TimeoutBroadcastTxCommit < rpcserver.WriteTimeout() * remove redundant comment * libs/rpc/http_server: move Read/WriteTimeout into Config * increase defaults for read/write timeouts Based on this article https://www.digitalocean.com/community/tutorials/how-to-optimize-nginx-configuration * WriteTimeout should be larger than TimeoutBroadcastTxCommit * set a deadline for subscribing to txs * extract duration into const * add two changelog entries * Update CHANGELOG_PENDING.md Co-Authored-By: melekes <anton.kalyaev@gmail.com> * Update CHANGELOG_PENDING.md Co-Authored-By: melekes <anton.kalyaev@gmail.com> * 12 -> 10 * changelog * changelog |
6 years ago | |
---|---|---|
.. | ||
handlers.go | Ensure WriteTimeout > TimeoutBroadcastTxCommit (#3443) | 6 years ago |
handlers_test.go | limit number of /subscribe clients and queries per client (#3269) | 6 years ago |
http_params.go | RPC HTTP does not require quotes around int64/int/uint64/uint types | 7 years ago |
http_server.go | Ensure WriteTimeout > TimeoutBroadcastTxCommit (#3443) | 6 years ago |
http_server_test.go | Ensure WriteTimeout > TimeoutBroadcastTxCommit (#3443) | 6 years ago |
parse_test.go | limit number of /subscribe clients and queries per client (#3269) | 6 years ago |