Skip to content

Commit 00dfdfc

Browse files
committed
lint
1 parent 6f4682b commit 00dfdfc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

taskvine/src/worker/vine_transfer_server.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ static void vine_transfer_process(struct vine_cache *cache)
6868
static int child_count = 0;
6969

7070
/*
71-
1. Perform a non-blocking check for any child processes that have exited, this runs very fast.
72-
2. If the number of child processes has reached the maximum allowed, perform a blocking wait for a child process to exit.
73-
3. Once arrives here, the server is safe to accept a new connection, as the child_count is less than the maximum allowed.
74-
4. Upon accepting a connection, fork a new child process to handle it; if timeout, simply continue.
75-
5. lnk should be closed in the parent process to prevent file descriptor exhaustion.
71+
1. Perform a non-blocking check for any child processes that have exited, this runs very fast.
72+
2. If the number of child processes has reached the maximum allowed, perform a blocking wait for a child process to exit.
73+
3. Once arrives here, the server is safe to accept a new connection, as the child_count is less than the maximum allowed.
74+
4. Upon accepting a connection, fork a new child process to handle it; if timeout, simply continue.
75+
5. lnk should be closed in the parent process to prevent file descriptor exhaustion.
7676
*/
7777
while (1) {
7878
/* Do a non-blocking wait for any exited children. */

0 commit comments

Comments
 (0)