From 7567a10513e3f746243a46a89a3773c236eccebb Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Wed, 15 Nov 2023 10:11:26 +0100 Subject: [PATCH] shm: Bump the ref segment size 10x --- fairmq/UnmanagedRegion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fairmq/UnmanagedRegion.h b/fairmq/UnmanagedRegion.h index aec97bf4..9c832012 100644 --- a/fairmq/UnmanagedRegion.h +++ b/fairmq/UnmanagedRegion.h @@ -134,7 +134,7 @@ struct RegionConfig int creationFlags = 0; /// flags passed to the underlying transport on region creation int64_t userFlags = 0; /// custom flags that have no effect on the transport, but can be retrieved from the region by the user uint64_t size = 0; /// region size - uint64_t rcSegmentSize = 10000000; /// size of the segment that stores reference counts when "soft"-copying the messages + uint64_t rcSegmentSize = 100000000; /// size of the segment that stores reference counts when "soft"-copying the messages std::string path = ""; /// file path, if the region is backed by a file std::optional id = std::nullopt; /// region id uint32_t linger = 100; /// delay in ms before region destruction to collect outstanding events