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

don't upload already uploaded attachments #8

Closed
streaps opened this issue Nov 2, 2013 · 3 comments
Closed

don't upload already uploaded attachments #8

streaps opened this issue Nov 2, 2013 · 3 comments

Comments

@streaps
Copy link

streaps commented Nov 2, 2013

all attachments are uploaded with every couch-push, even if they haven been uploaded to the couchdb server before. this wastes a lot of time, bandwith and storage on the couchdb server.

@jo
Copy link
Owner

jo commented Nov 12, 2013

Yeah, that would be definitely a good optimisation. I accept pull requests ;)

@jo
Copy link
Owner

jo commented Jun 1, 2015

See jo/couchdb-push#1

Since digests of compressed attachments are calculated after compression this does not work for compressable attachments anymore.
See http://serverfault.com/questions/551466/couchdb-attachment-hashes-dont-match-attachment-content

@jo
Copy link
Owner

jo commented Jun 1, 2015

Closing for now.

@jo jo closed this as completed Jun 1, 2015
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

No branches or pull requests

2 participants