mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
Changed timeout, logging added
This commit is contained in:
parent
cd129665ef
commit
e232c683b6
2 changed files with 6 additions and 2 deletions
|
@ -675,8 +675,8 @@ class dba {
|
|||
|
||||
$args = func_get_args();
|
||||
|
||||
// In a case of a deadlock we are repeating the query 10 times
|
||||
$timeout = 10;
|
||||
// In a case of a deadlock we are repeating the query 20 times
|
||||
$timeout = 20;
|
||||
|
||||
do {
|
||||
$stmt = call_user_func_array('self::p', $args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue