xml_handler will bind if memcached is down

This commit is contained in:
Mark Crane
2014-11-13 08:51:46 +00:00
parent fca4dbd32f
commit 3b9743226a

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");