Skip to content

Commit 1875bd2

Browse files
authored
init (#4050)
1 parent 23059fd commit 1875bd2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

taskvine/src/worker/vine_transfer_server.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ See the file COPYING for details.
1010
#include "vine_cache.h"
1111
#include "link.h"
1212

13-
#define VINE_TRANSFER_PROC_MAX_CHILD 8
13+
/* This number defines the maximum allowable concurrent forking processes for file transfers. However, it is the manager's
14+
* responsibility to allocate transfer tasks efficiently among workers, to ensure that no worker excessively forks processes
15+
* to complete the job. In this case, this value serves more as a theoretical safety threshold and should never be reached under
16+
* normal conditions. If a worker reaches this limit, it indicates a bug on the manager's side. */
17+
#define VINE_TRANSFER_PROC_MAX_CHILD 128
1418

1519
void vine_transfer_server_start( struct vine_cache *cache, int port_min, int port_max );
1620
void vine_transfer_server_stop();

0 commit comments

Comments
 (0)