Skip to content

Commit

Permalink
[server][dvc] Inherit ipv6 preference setting from parent process (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixpluszero authored Apr 17, 2024
1 parent 5ffbfb9 commit 796e201
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ private static List<String> prepareCommandArgList(

// Inherit Java tmp folder setting from parent process.
command.add("-Djava.io.tmpdir=" + System.getProperty("java.io.tmpdir"));
// Inherit IPv6 preference setting from parent process.
command.add("-Djava.net.preferIPv6Addresses=" + System.getProperty("java.net.preferIPv6Addresses", "false"));

/**
Add log4j2 configuration file and JVM arguments.
This config will inherit the log4j2 config file from parent process and set up correct logging level and it will
Expand Down

0 comments on commit 796e201

Please sign in to comment.