Skip to content

Commit

Permalink
fix normalization performance stat errror for fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Oct 3, 2019
1 parent 2f0dc49 commit 2a7ca4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qa/authorities/linked_data/find_term.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def load_graph(url:)

def normalize_results
normalize_start_dt = Time.now.utc
normalize_end_dt = Time.now.utc

json = perform_normalization

normalize_end_dt = Time.now.utc
@normalize_time_s = normalize_end_dt - normalize_start_dt
@normalized_size = json.to_s.size if performance_data?
Rails.logger.info("Time to convert data to json: #{normalize_time_s}s")
Expand Down

0 comments on commit 2a7ca4e

Please sign in to comment.