Improvements

K

On Fri, Dec 26, 2014 at 11:29 AM, Quentin Buathier
<notifications@github.com> wrote:

>> +
>> +              queues[name].totalCount += 1;
>> +              queues[name].processingCount += 1;
>> +
>> +              var newJob = job.queue.createJob({
>> +                type: 'task',
>> +                userData: data,
>> +                userType: name,
>> +                anyfetchToken: job.data.anyfetchToken
>> +              }, retryConfig);
>> +
>> +              newJob.save(function(err) {
>> +                queues[name].processingCount -= 1;
>> +
>> +                if(err) {
>> +                  cb(err);
> It's already logged with logError when a job failed.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/AnyFetch/anyfetch-provider.js/pull/55/files#r22281722