lib/rocket_job/dirmon_entry.rb in rocketjob-2.0.0 vs lib/rocket_job/dirmon_entry.rb in rocketjob-2.1.1
- old
+ new
@@ -220,10 +220,10 @@
count: {'$sum' => 1}
}
}
]
).each do |result|
- counts[result['_id']] = result['count']
+ counts[result['_id'].to_sym] = result['count']
end
counts
end
# The default archive directory that is used when the job being queued does not respond