lib/rocket_job/extensions/mongo.rb in rocketjob-2.0.0.rc3 vs lib/rocket_job/extensions/mongo.rb in rocketjob-2.0.0
- old
+ new
@@ -14,10 +14,10 @@
end
private
def log_operation(name, payload, duration)
- MongoClient.logger.benchmark_trace(name, duration: (duration * 1000), payload: payload)
+ MongoClient.logger.measure_trace(name, duration: (duration * 1000), payload: payload)
end
end
end