forked from nevali/crawl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prioritise resources with a state of NEW when dequeing (#31)
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5aa2054
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this always prioritise
NEW
resources? Is that the desired behaviour (as opposed to turning it on for N hours or some other limited scope)?5aa2054
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also conflicts with implementing #66
5aa2054
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the time being, always prioritising
NEW
resources is desirable; implementing #66 is then a minor configuration-based conditional to adjust the query, which is the preferred longer-term solution.for now, it's not often that we care deeply about freshness — the vast majority of the data we’re processing changes very rarely.