You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}, 2*time.Minute, 5*time.Millisecond) // Wait for bucket pool to be initialized, since GetConfigBuckets requires equal buckets to TestBucketPool.numBuckets
Copy file name to clipboardExpand all lines: base/gocb_connection_string.go
+1-10Lines changed: 1 addition & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ const (
22
22
kvPoolSizeKey="kv_pool_size"
23
23
)
24
24
25
-
// GoCBConnStringParams represents parameters that are passed to gocb when creating a new connection string. These are the subset of values that are changed when running with serverless mode.
25
+
// GoCBConnStringParams represents parameters that are passed to gocb when creating a new connection string.
// getGoCBConnSpec returns a gocb connection spec based on the server string. The provided defaults will be used only when the corresponding property is not set in the connection string.
Copy file name to clipboardExpand all lines: docs/api/components/schemas.yaml
+5-24Lines changed: 5 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -1668,13 +1668,6 @@ Database:
1668
1668
Disable this when you are confident all clients use newer CV-based revisions and no longer require legacy RevTree ID lookups.
1669
1669
type: boolean
1670
1670
default: true
1671
-
suspendable:
1672
-
description: |-
1673
-
Set to true to allow the database to be suspended.
1674
-
1675
-
Defaults to true when running in serverless mode otherwise defaults to false.
1676
-
type: boolean
1677
-
default: false
1678
1671
sync:
1679
1672
description: |-
1680
1673
The Javascript function that newly created documents are ran through for the default scope and collection.
@@ -1827,6 +1820,11 @@ Database:
1827
1820
The maximum number of revisions to store in the revision cache.
1828
1821
type: number
1829
1822
deprecated: true
1823
+
suspendable:
1824
+
description: This option has no effect.
1825
+
type: boolean
1826
+
default: false
1827
+
deprecated: true
1830
1828
title: Database-config
1831
1829
Disabled-users-and-roles:
1832
1830
type: object
@@ -2174,21 +2172,6 @@ Compact-status:
2174
2172
- start_time
2175
2173
- last_error
2176
2174
title: Compact-status
2177
-
Serverless:
2178
-
description: Configuration for when SG is running in serverless mode
2179
-
type: object
2180
-
properties:
2181
-
enabled:
2182
-
description: Run SG in to serverless mode
2183
-
type: boolean
2184
-
readOnly: true
2185
-
min_config_fetch_interval:
2186
-
description: |-
2187
-
How long database configs should be kept for in Sync Gateway before refreshing. Set to 0 to fetch configs everytime. This is used for requested databases that SG does not know about.
2188
-
2189
-
This is a duration and therefore can be provided with units "h", "m", "s", "ms", "us", and "ns". For example, 5 hours, 20 minutes, and 30 seconds would be `5h20m30s`.
0 commit comments