Add a config option for HTTP timeout too

This commit is contained in:
SquidDev
2019-01-11 21:11:22 +00:00
parent 8dd084ac5c
commit 66b61d4e9e
4 changed files with 20 additions and 6 deletions
@@ -138,6 +138,7 @@ public class ComputerCraft
public static AddressPredicate http_whitelist = new AddressPredicate( DEFAULT_HTTP_WHITELIST );
public static AddressPredicate http_blacklist = new AddressPredicate( DEFAULT_HTTP_BLACKLIST );
public static int httpTimeout = 30000;
public static int httpMaxRequests = 16;
public static long httpMaxDownload = 16 * 1024 * 1024;
public static long httpMaxUpload = 4 * 1024 * 1024;