files.com 1.2.129 → 1.2.131
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/RemoteServer.md +1 -1
- package/docs/models/RemoteServerConfigurationFile.md +1 -1
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +1 -1
- package/lib/models/RemoteServerConfigurationFile.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +1 -1
- package/src/models/RemoteServerConfigurationFile.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.131
|
@@ -72,7 +72,7 @@
|
|
72
72
|
* `port` (int64): Port for remote server. Not needed for S3.
|
73
73
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
74
74
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
|
75
|
-
* `pinned_region` (string): If set, all
|
75
|
+
* `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
|
76
76
|
* `s3_bucket` (string): S3 bucket name
|
77
77
|
* `s3_region` (string): S3 region
|
78
78
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -45,7 +45,7 @@
|
|
45
45
|
* `log_level` (string): Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
|
46
46
|
* `log_rotate_num` (int64): Log route for agent logs. (default 5)
|
47
47
|
* `log_rotate_size` (int64): Log route size in MB for agent logs. (default 20)
|
48
|
-
* `override_max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default
|
48
|
+
* `override_max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default 500)
|
49
49
|
* `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds (default 15)
|
50
50
|
* `transfer_rate_limit` (string): File transfer (upload/download) rate limit
|
51
51
|
`<limit>-<period>`, with the given periods:
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.131';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -96,7 +96,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
96
96
|
(0, _defineProperty2.default)(this, "setPinToSiteRegion", function (value) {
|
97
97
|
_this.attributes.pin_to_site_region = value;
|
98
98
|
});
|
99
|
-
// string # If set, all
|
99
|
+
// string # If set, all communications with this remote server are made through the provided region.
|
100
100
|
(0, _defineProperty2.default)(this, "getPinnedRegion", function () {
|
101
101
|
return _this.attributes.pinned_region;
|
102
102
|
});
|
@@ -85,7 +85,7 @@ var RemoteServerConfigurationFile = /*#__PURE__*/(0, _createClass2.default)(func
|
|
85
85
|
(0, _defineProperty2.default)(this, "getLogRotateSize", function () {
|
86
86
|
return _this.attributes.log_rotate_size;
|
87
87
|
});
|
88
|
-
// int64 # Maximum number of concurrent jobs (default
|
88
|
+
// int64 # Maximum number of concurrent jobs (default 500)
|
89
89
|
(0, _defineProperty2.default)(this, "getOverrideMaxConcurrentJobs", function () {
|
90
90
|
return _this.attributes.override_max_concurrent_jobs;
|
91
91
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -91,7 +91,7 @@ class RemoteServer {
|
|
91
91
|
this.attributes.pin_to_site_region = value
|
92
92
|
}
|
93
93
|
|
94
|
-
// string # If set, all
|
94
|
+
// string # If set, all communications with this remote server are made through the provided region.
|
95
95
|
getPinnedRegion = () => this.attributes.pinned_region
|
96
96
|
|
97
97
|
setPinnedRegion = value => {
|
@@ -70,7 +70,7 @@ class RemoteServerConfigurationFile {
|
|
70
70
|
// int64 # Log route size in MB for agent logs. (default 20)
|
71
71
|
getLogRotateSize = () => this.attributes.log_rotate_size
|
72
72
|
|
73
|
-
// int64 # Maximum number of concurrent jobs (default
|
73
|
+
// int64 # Maximum number of concurrent jobs (default 500)
|
74
74
|
getOverrideMaxConcurrentJobs = () => this.attributes.override_max_concurrent_jobs
|
75
75
|
|
76
76
|
// int64 # Graceful shutdown timeout in seconds (default 15)
|