mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-04 08:17:48 +00:00
Merge remote-tracking branch 'upstream/master' into Playerbot
# Conflicts: # src/server/game/Spells/SpellInfoCorrections.cpp # src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "SecretMgr.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "SteadyTimer.h"
|
||||
#include "Systemd.h"
|
||||
#include "World.h"
|
||||
#include "WorldSessionMgr.h"
|
||||
#include "WorldSocket.h"
|
||||
@@ -406,7 +407,8 @@ int main(int argc, char** argv)
|
||||
sScriptMgr->OnShutdown();
|
||||
|
||||
// set server offline
|
||||
LoginDatabase.DirectExecute("UPDATE realmlist SET flag = flag | {} WHERE id = '{}'", REALM_FLAG_OFFLINE, realm.Id.Realm);
|
||||
if (!sConfigMgr->GetOption<bool>("Network.UseSocketActivation", false))
|
||||
LoginDatabase.DirectExecute("UPDATE realmlist SET flag = flag | {} WHERE id = '{}'", REALM_FLAG_OFFLINE, realm.Id.Realm);
|
||||
|
||||
LOG_INFO("server.worldserver", "Halting process...");
|
||||
|
||||
|
||||
@@ -397,6 +397,20 @@ Network.TcpNodelay = 1
|
||||
|
||||
Network.EnableProxyProtocol = 0
|
||||
|
||||
#
|
||||
# Network.UseSocketActivation
|
||||
# Description: Enable systemd socket activation support for the worldserver.
|
||||
# When enabled and the process is started by systemd socket activation,
|
||||
# the server will use the socket passed by systemd instead of
|
||||
# creating and binding its own listening socket. Disabled by default.
|
||||
#
|
||||
# When enabled the realm is not automatically set as offline on shutdown.
|
||||
#
|
||||
# Example: 1 - (Enabled)
|
||||
# Default: 0 - (Disabled)
|
||||
|
||||
Network.UseSocketActivation = 0
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
@@ -3363,6 +3377,15 @@ DungeonAccessRequirements.LFGLevelDBCOverride = 0
|
||||
|
||||
DungeonFinder.CastDeserter = 1
|
||||
|
||||
#
|
||||
# DungeonFinder.AllowCompleted
|
||||
#
|
||||
# Description: Controls whether completed heroic dungeons are excluded from LFG queue.
|
||||
# 0 - (Classic WLK mode: Dungeons completed by any group member today are excluded (daily lockout enforced))
|
||||
# Default: 1 - (Blizzlike: All dungeons are available for queue, even if already completed)
|
||||
|
||||
DungeonFinder.AllowCompleted = 1
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user