Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable time-limited pages to be indexed automatically #3720

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

dmitryd
Copy link
Contributor

@dmitryd dmitryd commented Jul 7, 2023

What this pr does

This PR allows to pages with publish time in future to be added to the index queue for automatic indexing when they go public.

Notes:

  1. The side effect: scheduler task will not be 100% complete with such pages present in the queue.
  2. This improves the PR #3719

How to test

  1. Add a page with time in future
  2. You can now see that it appeared in the index queue table
  3. Run the indexer, the page will not be indexed
  4. Wait until publish time & next scheduler run
  5. See the page appearing in the solr index
  6. Change public time to future again
  7. See the page disappearing from the index and being scheduled for indexing

Fixes: #3547, #3702

Related: #3702

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.

[BUG] Unable to add pages with future starttime to index queue
2 participants