Skip to content

The control panel opening timeout issue caused by upgrade detection #5197

@DaPoHou

Description

@DaPoHou

A while ago, I noticed that when administrators log in to the control panel, the page loads very slowly, taking 28 seconds and sometimes even resulting in a timeout error.
After troubleshooting step by step, I discovered that the issue is caused by $this->upgrade_service->latestVersion() in app/Http/RequestHandlers/ControlPanel.php.
Perhaps because my server is located in China, calling the private functionfetchLatestVersion()to check for the latest version is very slow. Is there a better solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions