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 object timestamp logic #243

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jniebuhr
Copy link

@jniebuhr jniebuhr commented Aug 10, 2022

This should make the s3 input compatible with more S3 compatible backends since the timestamps are taken from the same call.
It also changes the logic to something I thought makes more sense.
It shouldn't really matter if a file has changed since listing, just if it has changed during downloading/processing.
If it had just changed during listing but before the download, the exact same file would be processed twice.

This should make the s3 input compatible with more
S3 compatible backends since the timestamps are taken from the same call.
It also changes the logic to something I thought makes more sense.
It shouldn't really matter if a file has changed since listing,
just if it has changed during downloading/processing.
If it had just changed during listing but before the download,
the exact same file would be processed twice.
@cla-checker-service
Copy link

cla-checker-service bot commented Aug 10, 2022

💚 CLA has been signed

@jniebuhr
Copy link
Author

Anyone got an idea on how to stub this properly? It's been a while writing Ruby :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants