aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/zenutil.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-12-15 14:09:12 +0100
committerGitHub <[email protected]>2023-12-15 14:09:12 +0100
commit9266e40239f241b7e38fa93719004b323ddedf10 (patch)
tree01ac8a3b38aa5913edab7ba10f299a48a01d8fe0 /src/zenutil/zenutil.cpp
parentwindows executable signing (#566) (diff)
downloadzen-9266e40239f241b7e38fa93719004b323ddedf10.tar.xz
zen-9266e40239f241b7e38fa93719004b323ddedf10.zip
fixed v2 rpc recording issue with >4GB data per segment (#612)
* fixed v2 rpc recording issue with >4GB data per segment * implemented recovery logic to deal with partial RPC recordings * added check for invalid/null requests in RPC replay * also made sure at least one worker thread is configured * fix problem where "null" requests would cause infinite loop! * added basic RPC recorder tests
Diffstat (limited to 'src/zenutil/zenutil.cpp')
-rw-r--r--src/zenutil/zenutil.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenutil/zenutil.cpp b/src/zenutil/zenutil.cpp
index df075ea3f..d9d6c83a2 100644
--- a/src/zenutil/zenutil.cpp
+++ b/src/zenutil/zenutil.cpp
@@ -5,6 +5,7 @@
#if ZEN_WITH_TESTS
# include <zenutil/basicfile.h>
+# include <zenutil/cache/rpcrecording.h>
namespace zen {
@@ -12,6 +13,7 @@ void
zenutil_forcelinktests()
{
basicfile_forcelink();
+ cache::rpcrecord_forcelink();
}
} // namespace zen