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

Fix unnecessary re-fetching of pull request data #49

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

sminnee
Copy link
Contributor

@sminnee sminnee commented Jan 10, 2019

GitHub’s /pulls endpoint doesn’t have a ?since filter, so instead we
check the updated_at values of each record imported. Since we have
sorted descending by this value, we can break out of the loop once we
have found the first updated_at value that is less than the bookmark
time.

Fixes #43

GitHub’s /pulls endpoint doesn’t have a ?since filter, so instead we
check the updated_at values of each record imported. Since we have
sorted descending by this value, we can break out of the loop once we
have found the first updated_at value that is less than the bookmark
time.

Fixes singer-io#43
@KAllan357
Copy link
Contributor

👍

@KAllan357 KAllan357 merged commit a29d211 into singer-io:master Jan 10, 2019
@sminnee sminnee deleted the fix-43 branch January 13, 2019 23:25
AJWurts pushed a commit to villagelabsco/tap-github that referenced this pull request Oct 24, 2024
GitHub’s /pulls endpoint doesn’t have a ?since filter, so instead we
check the updated_at values of each record imported. Since we have
sorted descending by this value, we can break out of the loop once we
have found the first updated_at value that is less than the bookmark
time.

Fixes singer-io#43
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