mantaSetLimits: Sets Manta durability level, connection timeouts and limits...

Description Usage Arguments Value See Also Examples

View source: R/mantaSetLimits.R

Description

Use mantaGetLimits to see the settings structure and default values. Pass a structure in R or JSON to mantaSetLimits to change values. This is where the Manta default connection parameters are changed, including the number of copies of an object stored on the Manta service "durability_level" which can be from 2 to 6, the number of directory entries retrieved in one HTTPS call max_limit which is set to the maximum of 1000 by default. The other settings recieve_timeout, sent_timeout and connect_timeout are for HTTPS transfer sessions and are set with values in seconds.

Usage

1
mantaSetLimits(limits, json, verbose = FALSE)

Arguments

limits

list, optional. New R limits values.

json

character, optional. New JSON limits values.

verbose

logical, optional. Show HTTPS traffic in RCURL and console output.

Value

logical TRUE if values changed FALSE if values unchanged

See Also

Other mantaAccount: mantaAccount; mantaGetLimits; mantaWhoami

Examples

1
2
3
4
5
6
7
## Not run: 
## Save all current settings with:
limits <- mantaGetLimits(all = TRUE)
## Change one or all settings, set with:
mantaSetLimits(limits)

## End(Not run)

joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.