mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-17 15:50:07 +00:00
Rpc server use epoll (#687)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -1077,6 +1077,8 @@ static void start_rpc_service (const char *seafile_dir,
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rpc_server->use_epoll = TRUE;
|
||||||
|
|
||||||
if (searpc_named_pipe_server_start(rpc_server) < 0) {
|
if (searpc_named_pipe_server_start(rpc_server) < 0) {
|
||||||
seaf_warning ("Failed to start rpc server.\n");
|
seaf_warning ("Failed to start rpc server.\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
|
Reference in New Issue
Block a user