SearchWP Archive

Class: BackgroundProcess

When SearchWP’s load monitoring detects that the CPU load threshold has been breached, a timeout is injected into the indexing process. You can use this hook to customize the duration of that timeout.

When SearchWP is monitoring CPU load it checks for a maximum load threshold. When this threshold is exceeded, SearchWP will scale back its indexing process so as to not further increase CPU load. If your server has many cores it’s likely this load maximum can be increased to match the capability of your server.

SearchWP will monitor system CPU load when possible and scale back the indexing process so as to avoid service interruption for site visitors. Using this hook you can disable SearchWP’s load monitoring.

A Better WordPress Search Experience

Get the best WordPress search plugin. Trusted by 50,000+ websites.

Get SearchWP Now
Multiple Search Engines Icon