sourcey/s3-image-optimizer

Marker not set when file skipped

Closed this issue · 2 comments

The marker isn't set when an image is skipped. What's the reason for this? The reason I ask is: I think we've got the scenario where listKeyPage returns an entire set of keys that are all skipped - but because the marker is never updated on skip, it just keeps retrying the same page over an over again.

Are their any negative side-affects of still setting the marker when a file is skipped?

I think it makes sense to add the skipped ones to the marker file.

PR Created: #9

Fixed via PR