Skip to content

Question/issue?: Does the plugin load all suggestions during startup? #148

@MikaelPorttila

Description

@MikaelPorttila

Hi

I have noticed a pattern during startup of sites with a large number of suggestions that a database CPU spike will occur which sometimes will cause timeouts.

Purging the suggestions manually will remove the CPU spike and normal operations will resume.

I haven't dug into any code yet but my gut feeling is that something cause the plugin to start fetching all suggesions during the startup, maybe this is by design to have a hashset of urls available in the the memory to speed up 404-handling? or is this an actual bug/ unexpected side-effect? Any setting to limit the number of suggestions loaded during startup?

The admin UI handles the large number of suggestions with ease by using pagination so the issue mainly affects the site startup only.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions