[OJS-3.4.0-4] Statistic problem

Hi!

Today I spent some time trying to come up with a generic solution to retry all queries in the application. And it’s possible, but as it will require too many workarounds, the code won’t be approved :eyes:

So, let’s try to first increase the number of retries for the jobs (if you add .diff to the end of the links, GitHub will generate a diff file):
OJS Used default number of retries (3x) · jonasraoni/ojs@87944be · GitHub
/lib/pkp Used default number of retries (3x) · jonasraoni/pkp-lib@062f9b8 · GitHub

Maybe it will be enough! If not, I can add deadlock measures to this part of the code.

Best,
Jonas Raoni