Let local clients connect with local manager via unix domain sockets (#11)

* let local clients connect with local manager via unix domain sockets

* fix clang-format

* fix tests

* fix stephanie's comments
This commit is contained in:
Philipp Moritz
2016-10-28 21:26:54 -07:00
committed by Robert Nishihara
parent 09a3ff7173
commit 84c581cf47
8 changed files with 108 additions and 68 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ local_scheduler_state *init_local_scheduler(event_loop *loop,
state->loop = loop;
/* Connect to Plasma. This method will retry if Plasma hasn't started yet.
* Pass in a NULL manager address and port. */
state->plasma_conn = plasma_connect(plasma_socket_name, NULL, 0);
state->plasma_conn = plasma_connect(plasma_socket_name, NULL);
/* Subscribe to notifications about sealed objects. */
int plasma_fd = plasma_subscribe(state->plasma_conn);
/* Add the callback that processes the notification to the event loop. */