This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 26d9deef41eb09dd70394e15124c26f2c546252f | |
Author: Aikar <aikar@aikar.co> | |
Date: Fri Mar 27 20:57:32 2020 -0400 | |
Improve behavior of main thread blocking chunk load/gens | |
diff --git a/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java b/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java | |
index 78bd238f4c..f28e563a43 100644 | |
--- a/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java | |
+++ b/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java b/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java | |
index 78bd238f4c..24d4902929 100644 | |
--- a/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java | |
+++ b/src/main/java/com/destroystokyo/paper/io/PrioritizedTaskQueue.java | |
@@ -72,7 +72,10 @@ public class PrioritizedTaskQueue<T extends PrioritizedTaskQueue.PrioritizedTask | |
* This can also be thrown if the queue has shutdown. | |
*/ | |
public void add(final T task) throws IllegalStateException { | |
- task.onQueue(this); | |
+ add(task, false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2017. Starlis LLC / dba Empire Minecraft | |
* | |
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval | |
* | |
*/ | |
package com.empireminecraft.systems.tasks; | |
import com.empireminecraft.util.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2017. Starlis LLC / dba Empire Minecraft | |
* | |
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval | |
* | |
*/ | |
package com.empireminecraft.systems.tasks; | |
import com.empireminecraft.util.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env _node | |
var Rcon = require('rcon'); | |
var exec = require('child_process').exec; | |
var rconPass = require('fs').readFileSync(__dirname + '/rconpass').toString(); | |
var servers = {}; | |
[ | |
"smp1", "smp2", "smp3", | |
"smp4", "smp5", "smp6", | |
"smp7", "smp8", "smp9", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.empireminecraft.systems.db; | |
import com.empireminecraft.util.Log; | |
import java.sql.SQLException; | |
import java.util.Queue; | |
import java.util.concurrent.ConcurrentLinkedQueue; | |
import java.util.concurrent.locks.Lock; | |
import java.util.concurrent.locks.ReentrantLock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the commands configuration file for Bukkit. | |
# For documentation on how to make use of this file, check out the Bukkit Wiki at | |
# http://wiki.bukkit.org/Commands.yml | |
# | |
# If you need help on this file, feel free to join us on irc or leave a message | |
# on the forums asking for advice. | |
# | |
# IRC: #spigot @ irc.spi.gt | |
# (If this means nothing to you, just go to http://irc.spi.gt/iris/?nick=&channels=spigot ) | |
# Forums: http://www.spigotmc.org/forums/help.40/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -lt 3 ]; then | |
echo "$0 <app> <channel> <binpath> [*args]" | |
exit 1 | |
fi | |
app=$1 | |
channel=$2 | |
binpath=$3 | |
shift | |
shift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'io.franzbecker.gradle-lombok' version '1.11' apply false | |
} | |
subprojects { | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modified from: http://www.labnol.org/internet/gmail-auto-purge/27605/ | |
// Labels to support | |
// Delete after 15 days | |
// Delete after 30 days | |
// Delete after 90 days | |
var days = [15,30,90]; | |
function Intialize() { | |
return; |