post/debug/set-gc-percent
Query parameters
gc-percentinteger
Target percentage of newly allocated data to trigger garbage collection.
_groupstring
Assign the request to a custom stats group.
_asyncboolean
Run the command asynchronously. Returns a job id immediately.
Headers
Prefer'respond-async'
Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.
Request body
Response
Previous garbage collection target percentage returned after update.