mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
11 lines
332 B
Ruby
11 lines
332 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Explicitly set the JSON adapter used by MultiJson
|
|
#
|
|
# This changes the default JSON adapter used by any gem dependencies
|
|
# we have that rely on MultiJson for their JSON handling. We set this
|
|
# to `oj` for a universal performance improvement in JSON handling
|
|
# across those gems.
|
|
|
|
MultiJson.use(:oj)
|