xml_handler will bind if memcached is down

This commit is contained in:
Mark Crane
2014-11-13 08:51:46 +00:00
parent d3c504fe4e
commit 0d166590dd

View File

@@ -33,7 +33,7 @@
end
--set the cache
if (XML_STRING == "-ERR NOT FOUND") then
if (XML_STRING == "-ERR NOT FOUND") or (XML_STRING == "-ERR CONNECTION FAILURE") then
--connect to the database
dofile(scripts_dir.."/resources/functions/database_handle.lua");