Waterfall/Waterfall-Proxy-Patches/0012-Change-default-timeout.patch

24 lines
858 B
Diff
Raw Normal View History

2021-10-01 03:27:34 +02:00
From 245d1262bdf112f20eba342196f07bd5036c62ea Mon Sep 17 00:00:00 2001
2020-12-16 11:14:44 +01:00
From: foss-mc <69294560+foss-mc@users.noreply.github.com>
Date: Wed, 16 Dec 2020 18:14:02 +0800
Subject: [PATCH] Change default timeout
2020-12-16 11:14:44 +01:00
diff --git a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
2021-10-01 03:27:34 +02:00
index 85d2197ac..c41930ae7 100644
2020-12-16 11:14:44 +01:00
--- a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
+++ b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
@@ -35,7 +35,8 @@ public abstract class Configuration implements ProxyConfig
/**
* Time before users are disconnected due to no network activity.
*/
- private int timeout = 30000;
2021-05-21 20:30:40 +02:00
+ // FlameCord - Modify default timeout
+ private int timeout = 17000;
2020-12-16 11:14:44 +01:00
/**
* UUID used for metrics.
*/
--
2021-10-01 03:27:34 +02:00
2.32.0.windows.1
2020-12-16 11:14:44 +01:00