mirror of
https://github.com/anope/anope.git
synced 2026-07-06 04:53:13 +02:00
BUILD : 1.7.6 (442) BUGS : N/A NOTES : padded RDB database updates with pongs to help prevent time outs
git-svn-id: svn://svn.anope.org/anope/trunk@442 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@297 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
ee7afa7eca
commit
019c90b4b2
+9
-2
@@ -174,28 +174,35 @@ void save_databases(void)
|
||||
if (!skeleton) {
|
||||
waiting = -11;
|
||||
save_ns_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
waiting = -12;
|
||||
save_cs_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (PreNickDBName) {
|
||||
save_ns_req_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
waiting = -13;
|
||||
}
|
||||
/* Temporary fix to avoid unwanted timeouts... */
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (s_BotServ) {
|
||||
waiting = -14;
|
||||
save_bs_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
}
|
||||
if (s_HostServ) {
|
||||
waiting = -15;
|
||||
save_hs_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
}
|
||||
waiting = -16;
|
||||
save_os_rdb_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
waiting = -17;
|
||||
save_rdb_news();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
waiting = -18;
|
||||
save_rdb_exceptions();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -418,33 +418,41 @@ void rdb_load_dbases(void)
|
||||
{
|
||||
if (!skeleton) {
|
||||
rdb_load_ns_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded NickServ DataBase (1/8)");
|
||||
if (s_HostServ) {
|
||||
rdb_load_hs_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded HostServ DataBase (2/8)");
|
||||
}
|
||||
if (s_BotServ) {
|
||||
rdb_load_bs_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded BotServ DataBase (3/8)");
|
||||
}
|
||||
rdb_load_cs_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded ChanServ DataBase (4/8)");
|
||||
}
|
||||
rdb_load_os_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded OperServ DataBase (5/8)");
|
||||
rdb_load_news();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded News DataBase (6/8)");
|
||||
rdb_load_exceptions();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded Exception Database (7/8)");
|
||||
if (PreNickDBName) {
|
||||
rdb_load_ns_req_dbase();
|
||||
anope_cmd_pong(ServerName, ServerName);
|
||||
if (debug)
|
||||
alog("RDB: Loaded PreNick DataBase (8/8)");
|
||||
} else {
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="6"
|
||||
VERSION_BUILD="441"
|
||||
VERSION_BUILD="442"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.6 (442)
|
||||
# BUGS : N/A
|
||||
# NOTES : padded RDB database updates with pongs to help prevent time outs
|
||||
#
|
||||
# BUILD : 1.7.6 (441)
|
||||
# BUGS : 215, 216
|
||||
# NOTES : Fixed some last minute bugs, and fixed make strict under Redhat
|
||||
|
||||
Reference in New Issue
Block a user