xml_handler will bind if memcached is down
This commit is contained in:
parent
d3c504fe4e
commit
0d166590dd
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue