@tsteur opened this Issue on September 11th 2020 Member

It seems this code is no longer there @diosmosis ? https://github.com/matomo-org/matomo/pull/15619/files

Any chance we could add this back? Basically, after any climulti::request we need to execute that code to prevent possible server gone away errors.

We also need to add the same disconnectDB to runScheduledTasks in CronArchive to prevent server gone away errors.

    public function runScheduledTasks()
    {
        $this->logSection("SCHEDULED TASKS");

        if ($this->disableScheduledTasks) {
            $this->logger->info("Scheduled tasks are disabled with --disable-scheduled-tasks");
            return;
        }

        $this->disconnectDb()'
@diosmosis commented on September 12th 2020 Member

Not sure how this was removed, but wasn't on purpose. Will add it back.

This Issue was closed on September 13th 2020
Powered by GitHub Issue Mirror