From 43730581800577cf0e02b66677fe73841bdbecfe Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Tue, 7 Mar 2017 17:49:13 -0800 Subject: [PATCH] Add comment to logging operations batch --- src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 4476a41bd97..46e9fee7e1f 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m @@ -276,6 +276,8 @@ } - (void)startBatchWithOperations:(NSArray *)operations errorHandler:(void (^)())errorHandler { + // Keep logs of op batches when we are running tests. Disabled when in production for improved + // performance. #ifdef GRPC_TEST_OBJC [GRPCOpBatchLog addOpBatchToLog:operations]; #endif