From 19aacbd5490b1a9178da0b7a2ccd9042a316797a Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Sun, 14 Jan 2024 13:51:54 -0700 Subject: [PATCH] create var --- server/config/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/config/config.go b/server/config/config.go index 8d2c212cfd74..cd9d814abe81 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -34,6 +34,10 @@ const ( // bytes the server can send. DefaultGRPCMaxSendMsgSize = math.MaxInt32 + // DefaultLogQueries defines the default value for the log_queries parameter. + // Should be set to false unless debugging. + DefaultLogQueries = false + // FileStreamer defines the store streaming type for file streaming. FileStreamer = "file" ) @@ -322,7 +326,7 @@ func DefaultConfig() *Config { Address: DefaultGRPCAddress, MaxRecvMsgSize: DefaultGRPCMaxRecvMsgSize, MaxSendMsgSize: DefaultGRPCMaxSendMsgSize, - LogQueries: false, + LogQueries: DefaultLogQueries, }, Rosetta: RosettaConfig{ Enable: false,