• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9
    • 1.9
    • Forum
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Another thing: I was so lucky because get the daily send of digest mails in action. And this line:

      if ($digestposts = get_records('forum_queue')) {

      just crash if there are too many records in the table (right now one server has more than 800.000!).

      I would propose to:

      • Change code to use one recordset.
      • Add one more query to delete old records say, one week, at the begining of the forum cron. just to avoid current and future accumulation!
      • Add some trace message about the digest process starting (was impossible to detect if before!).

      And this is the called DIGEST_CRON_PROBLEM from now.

      I continue advancing...

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.