changeset 354:e13723c37ca4 WoD

Removed debug statements for Blizzard functions that fail so often that they cause significant performance concerns.
author MMOSimca <MMOSimca@gmail.com>
date Mon, 13 Oct 2014 20:40:53 -0400
parents 6fc3f3e1be54
children 06b53a3d2b4a
files Main.lua
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Fri Oct 10 10:41:39 2014 -0400
+++ b/Main.lua	Mon Oct 13 20:40:53 2014 -0400
@@ -2135,11 +2135,7 @@
             if not item_id then
                 local item_name, item_link = DatamineTT:GetItem()
                 item_id = ItemLinkToID(item_link)
-                if item_id then
-                    Debug("%s: GetMerchantItemLink() still ocassionally fails, apparently. Failed item's ID - %s", event_name, item_id)
-                else
-                    Debug("%s: GetMerchantItemLink() still ocassionally fails, apparently. Failed item's ID - nil", event_name)
-                end
+                -- GetMerchantItemLink() still ocassionally fails as of Patch 6.0.2. It fails so badly that debug functions cause considerable slowdown.
             end
 
             if item_id and item_id > 0 then