Skip to content

Instantly share code, notes, and snippets.

@eschwim
Created September 22, 2014 22:09
test_sharp_async.js
var sharp = require('sharp');
var async = require('async');
while(1) {
async.parallelLimit([
function(callback) {
sharp('input.jpg').resize(300, 200).toFile('/dev/null');
callback();
}
],1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment