Fix compile error with DISABLE_HTTP (#9309)

There are two variables, MASTER_SERVER_REGISTER_TIME and
MASTER_SERVER_HEARTBEAT_TIME, which are unused when DISABLE_HTTP is set.
This commit fixes that.
This commit is contained in:
Sijmen Schoon authored and Michael Steenbeek committed 2019-05-26 16:06:56 +02:00
1 parent 6a8b218fd9
commit f26a1aee57
1 file changed
+2
@@ -41,8 +41,10 @@ enum MASTER_SERVER_STATUS
MASTER_SERVER_STATUS_INTERNAL_ERROR = 500
};
# ifndef DISABLE_HTTP
constexpr int32_t MASTER_SERVER_REGISTER_TIME = 120 * 1000; // 2 minutes
constexpr int32_t MASTER_SERVER_HEARTBEAT_TIME = 60 * 1000; // 1 minute
# endif
class NetworkServerAdvertiser final : public INetworkServerAdvertiser
{