Give blockstate thread more time before warning

This commit is contained in:
Jascha Starke 2013-10-26 20:33:54 +02:00
parent f545debb97
commit fcb1e92f90

View file

@ -60,13 +60,6 @@ public class ThreadLink {
if (getModule().isDebug()) if (getModule().isDebug())
log.debug("DB-Thread '" + Thread.currentThread().getName() + "' started."); log.debug("DB-Thread '" + Thread.currentThread().getName() + "' started.");
lastTimeout = System.currentTimeMillis() + STARTUP_TIMING; lastTimeout = System.currentTimeMillis() + STARTUP_TIMING;
updateQueue.add(new Action() { // After Initial Queue caching
@Override
public void process(ThreadLink link, DBQueries q) {
if (lastTimeout > System.currentTimeMillis())
lastTimeout = System.currentTimeMillis();
}
});
while (!shutdown || !updateQueue.isEmpty()) { while (!shutdown || !updateQueue.isEmpty()) {
try { try {
List<Action> acts = new LinkedList<Action>(); List<Action> acts = new LinkedList<Action>();