debug
Set the GC target percentage
Changed onSets the garbage collection target percentage and returns the previous value. A negative percentage effectively turns garbage collection off, unless the memory limit is reached.
post/debug/set-gc-percent
Request
- Base URLhttp://localhost:5572
- Auth
- HTTP basic
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Prefer'respond-async'
Set to respond-async to run the call in the background. Rclone returns a 202 with a job ID right away, and job/status reports progress. This has the same effect as the _async param in rclone's docs, but _async alone returns a 200 instead of a 202.
Request body
Response
Previous garbage collection target percentage returned after update.
Changes
- info
api tag
debugadded
- info
- info
added the non-success response with the status
- info