Reduced memory read batch size to 128 bytes, in ReadTargetMemory Insight worker task, to improve stability (reduce likelihood of debug server (GDB) timeouts)

This commit is contained in:
Nav
2022-09-03 20:38:36 +01:00
parent cb272dfcff
commit 8146a442f6

View File

@@ -15,7 +15,7 @@ namespace Bloom
* This allows the TargetController to service other commands in-between reads, reducing the likelihood of
* command timeouts when we're reading lots of data.
*/
constexpr auto readSize = 256;
constexpr auto readSize = 128;
const auto readsRequired = static_cast<std::uint32_t>(
std::ceil(static_cast<float>(this->size) / static_cast<float>(readSize))
);