Archiviert
13
0

How about we actually make that tickNextTickList cap configurable

*glances at Z*
Dieser Commit ist enthalten in:
Roman Alexander 2015-03-24 18:28:19 -05:00 committet von Zach Brown
Ursprung 7cbda258cc
Commit 5a49816bef

Datei anzeigen

@ -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>
Date: Sat, 7 Mar 2015 20:49:31 -0600
Subject: [PATCH] Fix redstone lag issues
@ -38,7 +38,7 @@ index a599869..5d73d88 100644
this.methodProfiler.a("cleaning");
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
+++ b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
@@ -223,4 +223,11 @@ public class PaperSpigotWorldConfig
@ -49,7 +49,7 @@ index 1915a7c..46412dd 100644
+ public int 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 );
+ }
}