From a3fbe95f188317e71cef1698cd42a31014aa6121 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 21 Feb 2025 00:09:33 +0100 Subject: [PATCH] update defaults Signed-off-by: Tim Vaillancourt --- go/flags/endtoend/vtorc.txt | 4 ++-- go/vt/vtorc/config/config.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/flags/endtoend/vtorc.txt b/go/flags/endtoend/vtorc.txt index f5b9176ae02..3a97ff9eb2d 100644 --- a/go/flags/endtoend/vtorc.txt +++ b/go/flags/endtoend/vtorc.txt @@ -21,8 +21,8 @@ Flags: --audit-purge-duration duration Duration for which audit logs are held before being purged. Should be in multiples of days (default 168h0m0s) --audit-to-backend Whether to store the audit log in the VTOrc database --audit-to-syslog Whether to store the audit log in the syslog - --backend-read-concurrency int Maximum concurrency for reads to the backend (default 20) - --backend-write-concurrency int Maximum concurrency for writes to the backend (default 20) + --backend-read-concurrency int Maximum concurrency for reads to the backend (default 24) + --backend-write-concurrency int Maximum concurrency for writes to the backend (default 12) --bind-address string Bind address for the server. If empty, the server will listen on all available unicast and anycast IP addresses of the local system. --catch-sigpipe catch and ignore SIGPIPE on stdout and stderr if specified --change-tablets-with-errant-gtid-to-drained Whether VTOrc should be changing the type of tablets with errant GTIDs to DRAINED diff --git a/go/vt/vtorc/config/config.go b/go/vt/vtorc/config/config.go index 3a7b2165ea5..0ab92891729 100644 --- a/go/vt/vtorc/config/config.go +++ b/go/vt/vtorc/config/config.go @@ -125,7 +125,7 @@ var ( "backend-read-concurrency", viperutil.Options[int64]{ FlagName: "backend-read-concurrency", - Default: 20, + Default: 24, Dynamic: true, }, ) @@ -134,7 +134,7 @@ var ( "backend-write-concurrency", viperutil.Options[int64]{ FlagName: "backend-write-concurrency", - Default: 20, + Default: 12, Dynamic: true, }, )