Skip to content

Commit

Permalink
Revert "PERF: Use Oj for serializing JSON. (#7780)"
Browse files Browse the repository at this point in the history
This commit broke discourse-prometheus.

This reverts commit b4df8c5.
  • Loading branch information
nbianca committed Jun 25, 2019
1 parent d21594f commit 3fd7cf9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
2 changes: 0 additions & 2 deletions config/initializers/100-oj.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true

Oj.optimize_rails

# Not sure why it's not using this by default!
MultiJson.engine = :oj
19 changes: 0 additions & 19 deletions spec/integrity/oj_spec.rb

This file was deleted.

0 comments on commit 3fd7cf9

Please sign in to comment.