Add comment to logging operations batch

pull/9247/head
Muxi Yan 8 years ago
parent 7e49365f92
commit 4373058180
  1. 2
      src/objective-c/GRPCClient/private/GRPCWrappedCall.m

@ -276,6 +276,8 @@
} }
- (void)startBatchWithOperations:(NSArray *)operations errorHandler:(void (^)())errorHandler { - (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 #ifdef GRPC_TEST_OBJC
[GRPCOpBatchLog addOpBatchToLog:operations]; [GRPCOpBatchLog addOpBatchToLog:operations];
#endif #endif

Loading…
Cancel
Save