Skip to content

Commit

Permalink
fix c3861c6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Dec 14, 2024
1 parent 9bcd111 commit 0eb7705
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import de.teamlapen.vampirism.VampirismMod;
import de.teamlapen.vampirism.api.settings.ISettingsProvider;
import de.teamlapen.vampirism.api.settings.Supporter;
import net.minecraft.Util;
import net.minecraft.resources.ResourceLocation;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down Expand Up @@ -38,7 +39,7 @@ public class SettingsProvider implements ISettingsProvider {

public SettingsProvider(String baseUrl) {
this.baseUrl = baseUrl;
this.client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(5)).executor(Util.nonCriticalIoPool()).build();
this.client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(5)).executor(Util.ioPool()).build();
}

@Override
Expand Down

0 comments on commit 0eb7705

Please sign in to comment.