Skip to content

Commit

Permalink
Merge pull request #273 from samvera/fix/performance_data_bug
Browse files Browse the repository at this point in the history
fix normalization performance stat error for fetch
  • Loading branch information
elrayle authored Oct 3, 2019
2 parents 2f0dc49 + 2a7ca4e commit d427108
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 d427108

Please sign in to comment.