Skip to content

[6.x] Ability to configure search index update job timeout - #15093

Merged
jasonvarga merged 10 commits into
statamic:6.xfrom
edalzell:feat/configurable-search-queue-timeout
Aug 3, 2026
Merged

[6.x] Ability to configure search index update job timeout#15093
jasonvarga merged 10 commits into
statamic:6.xfrom
edalzell:feat/configurable-search-queue-timeout

Conversation

@edalzell

Copy link
Copy Markdown
Contributor

On one of my sites, the search index update job was timing out because it took over a minute.

This allows a .env to configure the job timeout.

@duncanmccleanduncanmcclean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a failing test. Could you take a look?

1) Tests\Search\InsertMultipleJobTest::it_sets_the_timeout_from_config@empty env var with data ('', null)
Failed asserting that 0 is identical to null.
/home/runner/work/cms/cms/tests/Search/InsertMultipleJobTest.php:19

@edalzell

Copy link
Copy Markdown
ContributorAuthor

There seems to be a failing test. Could you take a look?

Fixed

@jasonvarga
jasonvarga enabled auto-merge (squash) August 3, 2026 18:41
@jasonvarga
jasonvarga merged commit 8285d29 into statamic:6.xAug 3, 2026
19 checks passed
@edalzell
edalzell deleted the feat/configurable-search-queue-timeout branch August 3, 2026 19:22
duncanmcclean added a commit to statamic/docs that referenced this pull request Aug 6, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@edalzell@duncanmcclean@jasonvarga