feathersjs-ecosystem / feathers-blob

Feathers service for blob storage, like S3.
http://feathersjs.com
MIT License
92 stars 32 forks source link

Small optimization to `create()`. #76

Closed davidbludlow closed 4 years ago

davidbludlow commented 4 years ago

This makes it so we don't recompute the hash when we don't need to.

This doesn't fix any urgent or dire problem. It is just a little optimization.

Note that this will cause even more conflicts with https://github.com/feathersjs-ecosystem/feathers-blob/pull/13

claustres commented 4 years ago

It makes sense and as it does not change any existing behavior it seems fine.

Thank you.