xml_handler will bind if memcached is down
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
--set the cache
|
--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
|
--connect to the database
|
||||||
dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
||||||
|
|||||||
Reference in New Issue
Block a user