debug

Set the mutex profile fraction

Changed on

Controls the fraction of mutex contention events reported in the mutex profile, and returns the previous rate. Use 0 to turn profiling off, or a negative rate to only read the current value.

post/debug/set-mutex-profile-fraction

Request

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

_configobject

Config overrides for this call only.

_filterobject

Filter overrides for this call only.

_groupstring

Stats group for this call.

rateinteger required

Sampling fraction for mutex contention profiling; set to 0 to disable.

Response

Previous mutex profiling sampling rate.

previousRateinteger required

Changes