diff options
| author | Dan Engelbrecht <[email protected]> | 2026-01-29 12:41:55 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-29 12:41:55 +0100 |
| commit | 8aab9458098c29b4bc9e9bff1d4591ced7c9a970 (patch) | |
| tree | 4d28bd7f02a7d4a05edb406dd174068cddd3720e /src/zenhttp | |
| parent | don't do full cb-object validation on cache records when read from disk (#739) (diff) | |
| download | zen-8aab9458098c29b4bc9e9bff1d4591ced7c9a970.tar.xz zen-8aab9458098c29b4bc9e9bff1d4591ced7c9a970.zip | |
reduce batch size for reads (#740)
* reduce maximum size per chunk to read to reduce disk contention
* increase timeout before warning on slow shut down of zenserver
* reduce default window size for blockstore chunk iteration
Diffstat (limited to 'src/zenhttp')
| -rw-r--r-- | src/zenhttp/clients/httpclientcommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/clients/httpclientcommon.cpp b/src/zenhttp/clients/httpclientcommon.cpp index 8e5136dff..47425e014 100644 --- a/src/zenhttp/clients/httpclientcommon.cpp +++ b/src/zenhttp/clients/httpclientcommon.cpp @@ -309,7 +309,7 @@ namespace detail { void BufferedReadFileStream::Read(void* Data, uint64_t BytesToRead, uint64_t FileOffset) { - const uint64_t MaxChunkSize = 1u * 1024 * 1024; + const uint64_t MaxChunkSize = 512u * 1024u; std::error_code Ec; ReadFile(m_FileHandle, Data, BytesToRead, FileOffset, MaxChunkSize, Ec); |