add large_msg_align for cache memory alignment

This commit is contained in:
木头云 2021-05-07 15:48:31 +08:00 committed by GitHub
parent d6ab58fc6f
commit 681f8e6736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ enum : std::size_t {
invalid_value = (std::numeric_limits<std::size_t>::max)(),
data_length = 64,
large_msg_limit = data_length,
large_msg_align = 512,
large_msg_cache = 32,
default_timeout = 100 // ms
};