honza / node-thumbnail

Thumbnail worker queue for node.js
http://honza.ca/node-thumbnail/
Other
103 stars 23 forks source link

Fixes incorrect use of async.queue #4

Open ma137 opened 9 years ago

ma137 commented 9 years ago

As explained in https://github.com/caolan/async#queue the worker function of the queue must call its callback. If it is not called, the next task gets not processed. This bug appears if overwriting is deactivated (default case) and the thumbnail already exists. The concerned worker function stops, since no callback is received.

honza commented 9 years ago

Let me investigate. I think we're using a fairly outdated version of async. I should upgrade all dependencies to their latest versions.