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

Make it possible to set priority of IndexElement job #271

Closed
almeric opened this issue Sep 5, 2023 · 4 comments
Closed

Make it possible to set priority of IndexElement job #271

almeric opened this issue Sep 5, 2023 · 4 comments

Comments

@almeric
Copy link

almeric commented Sep 5, 2023

Hi,

First off, thanks for the great plugin!

We're currently using it on a site with a lot of mutations on a lot of entries resulting in (you guessed it) a lot of Indexing Element jobs.

It would be great if we could set the priority of these jobs through the config file so other jobs don't get pushed to the back of the queue.

There's already a priority option in the config file, but it seems that one's not used here for example:
https://github.com/studioespresso/craft-scout/blob/master/src/Scout.php#L166C25-L168

Thanks

@janhenckens
Copy link
Member

Hey @almeric! Yeah, that setting should be used for that job as well.

Could you just confirm which version of the plugin - and of Craft - you're running at the moment? Thanks!

@almeric
Copy link
Author

almeric commented Sep 6, 2023

Sure:

Craft : 4.5.3
Scout: 3.1.2

@janhenckens
Copy link
Member

hey @almeric, a fix for this is out in 3.1.3. Can you give that a try? Thanks!

@almeric
Copy link
Author

almeric commented Sep 11, 2023

@janhenckens Awesome, thanks for the quick fix! Just looked at the queue and all seems to be working great.

Thanks again

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

No branches or pull requests

2 participants