diff options
author | 2017-03-07 17:49:13 -0800 | |
---|---|---|
committer | 2017-03-07 17:49:13 -0800 | |
commit | 43730581800577cf0e02b66677fe73841bdbecfe (patch) | |
tree | 84df85dd32eaf12e9809489d8ea42a0101789bff /src | |
parent | 7e49365f920a874b5133cb05884076b0f556e7ac (diff) |
Add comment to logging operations batch
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 4476a41bd9..46e9fee7e1 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 |