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

Update the date window for the slim task #390

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

marcospri
Copy link
Member

No description provided.

h_periodic/h_beat.py Outdated Show resolved Hide resolved
@@ -17,8 +17,8 @@
print("h_beat disabled by DISABLE_H_BEAT environment variable")
sys.exit()

SLIM_TASK_SINCE = "2018-01-01"
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't order the candidate annotations (because it's expensive) so these are not guaranteed to be processed in order although they have been until now.

The oldest non-migrated annotations is from April:

select annotation.created from annotation 
left outer join annotation_slim on annotation_slim.pubid = annotation.id
where pubid is null
order by annotation.created asc
limit 1

SLIM_TASK_SINCE = "2018-01-01"
SLIM_TASK_UNTIL = "2019-12-31"
SLIM_TASK_SINCE = "2018-04-01"
SLIM_TASK_UNTIL = "2020-03-30"
Copy link
Member Author

Choose a reason for hiding this comment

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

Add a bit of 2020 to have enough annos to process the next few days.

@marcospri marcospri requested a review from acelaya November 24, 2023 13:24
@marcospri marcospri merged commit 4cac15f into main Nov 27, 2023
8 checks passed
@marcospri marcospri deleted the fill-task-dates-3 branch November 27, 2023 09:28
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