Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce experimental use_optimized_json_encoder configuration #208

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions jobs/cloud_controller_ng/spec
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,10 @@ properties:
description: "How many threads a single cloud controller instance's thin server will attempt to use. Alter at your own peril."
default: 20 # inherited from default in Thin/EventMachine

cc.experimental.use_optimized_json_encoder:
description: "Switch to a different Ruby JSON encoder, i.e. Oj (https://github.com/ohler55/oj)."
default: false

cc.kubernetes.host_url:
description: "Kubernetes master API URL"
cc.kubernetes.service_account.name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ internal_route_vip_range: <%= internal_vip_range %>

threadpool_size: <%= p("cc.experimental.thin_server.thread_pool_size") %>

use_optimized_json_encoder: <%= p("cc.experimental.use_optimized_json_encoder") %>

<% if_p("cc.kubernetes.host_url") do %>
kubernetes:
host_url: <%= p("cc.kubernetes.host_url") %>
Expand Down