How about we actually make that tickNextTickList cap configurable
*glances at Z*
This commit is contained in:
parent
7cbda258cc
commit
5a49816bef
@ -1,4 +1,4 @@
|
|||||||
From c42571ad2dde931065e837927349fa1d157f53e3 Mon Sep 17 00:00:00 2001
|
From bd16f6b7d98e99ca219ebb5f0f1576c8ce371874 Mon Sep 17 00:00:00 2001
|
||||||
From: Iceee <andrew@opticgaming.tv>
|
From: Iceee <andrew@opticgaming.tv>
|
||||||
Date: Sat, 7 Mar 2015 20:49:31 -0600
|
Date: Sat, 7 Mar 2015 20:49:31 -0600
|
||||||
Subject: [PATCH] Fix redstone lag issues
|
Subject: [PATCH] Fix redstone lag issues
|
||||||
@ -38,7 +38,7 @@ index a599869..5d73d88 100644
|
|||||||
this.methodProfiler.a("cleaning");
|
this.methodProfiler.a("cleaning");
|
||||||
|
|
||||||
diff --git a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
diff --git a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
index 1915a7c..46412dd 100644
|
index 1915a7c..fa4a7d7 100644
|
||||||
--- a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
--- a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
+++ b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
+++ b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
@@ -223,4 +223,11 @@ public class PaperSpigotWorldConfig
|
@@ -223,4 +223,11 @@ public class PaperSpigotWorldConfig
|
||||||
@ -49,7 +49,7 @@ index 1915a7c..46412dd 100644
|
|||||||
+ public int tickNextTickCap;
|
+ public int tickNextTickCap;
|
||||||
+ private void tickNextTickCap()
|
+ private void tickNextTickCap()
|
||||||
+ {
|
+ {
|
||||||
+ tickNextTickCap = 10000; // Higher values will be friendlier to vanilla style mechanics but may hurt performance
|
+ tickNextTickCap = getInt( "tick-next-tick-list-cap", 10000 ); // Higher values will be friendlier to vanilla style mechanics (to a point) but may hurt performance
|
||||||
+ log( "WorldServer TickNextTick cap set at " + tickNextTickCap );
|
+ log( "WorldServer TickNextTick cap set at " + tickNextTickCap );
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user