aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/completion_queue_uv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/ext/completion_queue_uv.cc')
-rw-r--r--src/node/ext/completion_queue_uv.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/ext/completion_queue_uv.cc b/src/node/ext/completion_queue_uv.cc
index 9c1f093a40..72900501e0 100644
--- a/src/node/ext/completion_queue_uv.cc
+++ b/src/node/ext/completion_queue_uv.cc
@@ -92,8 +92,7 @@ void CompletionQueueNext() {
}
void CompletionQueueInit(Local<Object> exports) {
- queue =
- grpc_completion_queue_create(GRPC_CQ_NEXT, GRPC_CQ_DEFAULT_POLLING, NULL);
+ queue = grpc_completion_queue_create_for_next(NULL);
uv_prepare_init(uv_default_loop(), &prepare);
pending_batches = 0;
}