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

check that status.lastUpdatedTime is set before attempting to subtract! #1754

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

ikreymer
Copy link
Member

Don't subtract none value!

@ikreymer ikreymer requested review from tw4l and emma-sg April 28, 2024 17:55
Copy link
Member

@emma-sg emma-sg left a comment

Choose a reason for hiding this comment

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

Looks good! More context from Discord:

yea, this is the total crawl timeout check, and uses the elapsedTime is the time that's already been added + time since last update (status.lastUpdatedTime). for some reason that was being empty (which i'll look into more closely) but at least this fixes the python exception of subtracting a none value

@ikreymer ikreymer merged commit 375057a into main Apr 30, 2024
3 of 4 checks passed
@ikreymer ikreymer deleted the op-check-lastUpdatedTime branch April 30, 2024 18:33
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