TrinityCore/TrinityCore — pull request #6685 by mweinelt (2012-06-01 19:30:25+00:00)
Title: Core/Battlegrounds: Introduce Arena.RatedUpdateTimer to configure time between checks for matchups in rated arena

Currently the BattlegroundMgr checks for rated arena matches every Arena.RatingDiscardTimer ms, which is an unfit choice at that point, because depending on the teams JoinTime you currently have to wait something between 1 second and RatingDiscardTimer to get an invite.

For example if RatingDiscardTimer is 10 min (blizzlike value) and team joined immediately after a check they'd have to wait close to 10 more minutes in queue until they'd finally get invited.

This is of course only on servers with low pvp activity, because otherwise BattlegroundQueue::Update would be triggered more often, due to players joining/leaving queues.