Added mysql query retry after database deadlock detection.
[fa-stable.git] / includes / db / connect_db.inc
index a689946b8637a96e1218fec77133c3677bb510e2..147f4a5f7972ae3d7d48ae2247f54955f6a89fa9 100644 (file)
@@ -10,7 +10,7 @@
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
 //$path_to_root="..";
-
+define('MAX_DEADLOCK_RETRY', 3);
 
 if (function_exists('mysqli_connect'))
        include_once("connect_db_mysqli.inc");