Let the server irc bot reconnect once every day.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <game_defs.h>
|
||||
|
||||
#include <gui/guiinterface.h>
|
||||
#include <third_party/boost/timers.hpp>
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
@@ -46,6 +47,9 @@ public:
|
||||
// Main start function.
|
||||
void RunAll();
|
||||
|
||||
// Let the server manager perform processing.
|
||||
void Process();
|
||||
|
||||
void SignalTerminationAll();
|
||||
bool JoinAll(bool wait);
|
||||
|
||||
@@ -75,6 +79,7 @@ private:
|
||||
|
||||
boost::shared_ptr<ServerLobbyThread> m_lobbyThread;
|
||||
boost::shared_ptr<IrcThread> m_ircThread;
|
||||
boost::timers::portable::microsec_timer m_ircRestartTimer;
|
||||
AcceptThreadList m_acceptThreadPool;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user