Skip to content

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

Open
edalzell wants to merge 9 commits into
statamic:6.xfrom
edalzell:feat/configurable-search-queue-timeout
Open

[6.x] Ability to configure search index update job timeout#15093
edalzell wants to merge 9 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.

@duncanmcclean duncanmcclean 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
Contributor Author

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

Fixed

@edalzell
edalzell requested a review from duncanmcclean July 31, 2026 18:15
Sign up for free to 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.

2 participants