summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-25 23:35:50 +0100
committermadmaxoft <github@xoft.cz>2014-03-25 23:35:50 +0100
commit9032ff96c7c6db4264eedda95de7ea55f155bc47 (patch)
treed5b2984e845894a82c948bbd0ccae3dc33157a53 /src/DeadlockDetect.cpp
parentAdded a basic cPrefab class. (diff)
downloadcuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.gz
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.bz2
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.lz
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.xz
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.zst
cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.zip
Diffstat (limited to 'src/DeadlockDetect.cpp')
-rw-r--r--src/DeadlockDetect.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/DeadlockDetect.cpp b/src/DeadlockDetect.cpp
index 4dc7bfde6..322084dc4 100644
--- a/src/DeadlockDetect.cpp
+++ b/src/DeadlockDetect.cpp
@@ -7,7 +7,7 @@
#include "DeadlockDetect.h"
#include "Root.h"
#include "World.h"
-# include <cstdlib>
+#include <cstdlib>
@@ -16,9 +16,6 @@
/// Number of milliseconds per cycle
const int CYCLE_MILLISECONDS = 100;
-/// When the number of cycles for the same world age hits this value, it is considered a deadlock
-const int NUM_CYCLES_LIMIT = 200; // 200 = twenty seconds
-