diff options
author | 2017-07-18 09:40:40 -0700 | |
---|---|---|
committer | 2017-07-18 09:40:40 -0700 | |
commit | 7a82afde1e1705168e482bbbc427b1ee5840bee3 (patch) | |
tree | 7d5446fdfc9edb16017a49317db67bce962b55df /src/core/lib/surface | |
parent | af723b0424df0047f965978d8f4bacee2af917c3 (diff) |
Introduce long/short jobs to executor (not used yet)
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/server.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/lib/surface/server.c b/src/core/lib/surface/server.c index fce7f8dca1..4bdc03052f 100644 --- a/src/core/lib/surface/server.c +++ b/src/core/lib/surface/server.c @@ -1116,9 +1116,11 @@ void grpc_server_start(grpc_server *server) { server_ref(server); server->starting = true; - GRPC_CLOSURE_SCHED(&exec_ctx, GRPC_CLOSURE_CREATE(start_listeners, server, - grpc_executor_scheduler), - GRPC_ERROR_NONE); + GRPC_CLOSURE_SCHED( + &exec_ctx, + GRPC_CLOSURE_CREATE(start_listeners, server, + grpc_executor_scheduler(GRPC_EXECUTOR_SHORT)), + GRPC_ERROR_NONE); grpc_exec_ctx_finish(&exec_ctx); } |