lib/graphql/metrics/tracer.rb in graphql-metrics-4.0.4 vs lib/graphql/metrics/tracer.rb in graphql-metrics-4.0.5

- old
+ new

@@ -93,11 +93,11 @@ timed_result.result end def capture_validation_time(context) if pre_context.parsing_duration.nil? - pre_context.parsing_start_time_offset = 0 - pre_context.parsing_duration = 0 + pre_context.parsing_start_time_offset = 0.0 + pre_context.parsing_duration = 0.0 end timed_result = GraphQL::Metrics.time(pre_context.query_start_time_monotonic) { yield } ns = context.namespace(CONTEXT_NAMESPACE)