File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ See the file COPYING for details.
10
10
#include "vine_cache.h"
11
11
#include "link.h"
12
12
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
14
18
15
19
void vine_transfer_server_start ( struct vine_cache * cache , int port_min , int port_max );
16
20
void vine_transfer_server_stop ();
You can’t perform that action at this time.
0 commit comments