Skip to content

Commit 0a77aeb

Browse files
torcolvinclaude
andauthored
CBG-5715: correct documented defaults and bounds (#8656)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 3ef1bdb commit 0a77aeb

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

docs/api/components/schemas.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,8 +1274,10 @@ Database:
12741274
type: boolean
12751275
default: false
12761276
max_processes:
1277-
description: The maximum amount of concurrent event handling independent functions that can be running at the same time.
1277+
description: The maximum amount of concurrent event handling independent functions that can be running at the same time. Setting to 0 uses the default.
12781278
type: integer
1279+
default: 500
1280+
minimum: 0
12791281
wait_for_process:
12801282
description: The maximum amount of time (in milliseconds) to wait when the event queue is full.
12811283
type: string
@@ -1327,7 +1329,7 @@ Database:
13271329
javascript_timeout_secs:
13281330
description: The maximum number of seconds the sync, import filter, and custom conflict resolver JavaScript functions are allowed to run for before timing out. Set to 0 to allow the JS functions to run uncapped.
13291331
type: integer
1330-
default: 60
1332+
default: 0
13311333
keypath:
13321334
description: The key path (private key) for X.509 bucket auth
13331335
type: string
@@ -2806,7 +2808,7 @@ Logging-config:
28062808
default: ""
28072809
max_age:
28082810
description: The maximum number of days to retain old log files.
2809-
default: 6
2811+
default: 90
28102812
type: integer
28112813
collation_buffer_size:
28122814
description: The size of the log collation buffer

docs/api/paths/admin/keyspace-_changes.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,15 @@ post:
188188
items:
189189
type: string
190190
heartbeat:
191-
description: The interval (in milliseconds) to send an empty line (CRLF) in the response. This is to help prevent gateways from deciding the socket is idle and therefore closing it. This is only applicable to `feed=longpoll` or `feed=continuous`. This will override any timeouts to keep the feed alive indefinitely. Setting to 0 results in no heartbeat. The maximum heartbeat can be set in the server replication configuration.
191+
description: The interval (in milliseconds) to send an empty line (CRLF) in the response. This is to help prevent gateways from deciding the socket is idle and therefore closing it. This is only applicable to `feed=longpoll` or `feed=continuous`. This will override any timeouts to keep the feed alive indefinitely. Setting to 0 results in no heartbeat. The maximum heartbeat can be set in the server replication configuration. If heartbeat is non zero, it must be at least 25000 milliseconds.
192192
type: integer
193+
default: 0
193194
timeout:
194195
description: 'This is the maximum period (in milliseconds) to wait for a change before the response is sent, even if there are no results. This is only applicable for `feed=longpoll` or `feed=continuous` changes feeds. Setting to 0 results in no timeout.'
195196
type: integer
197+
default: 300000
198+
maximum: 900000
199+
minimum: 0
196200
feed:
197201
description: 'The type of changes feed to use. '
198202
type: string

docs/api/paths/public/keyspace-_changes.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,15 @@ post:
175175
items:
176176
type: string
177177
heartbeat:
178-
description: The interval (in milliseconds) to send an empty line (CRLF) in the response. This is to help prevent gateways from deciding the socket is idle and therefore closing it. This is only applicable to `feed=longpoll` or `feed=continuous`. This will override any timeouts to keep the feed alive indefinitely. Setting to 0 results in no heartbeat. The maximum heartbeat can be set in the server replication configuration.
178+
description: The interval (in milliseconds) to send an empty line (CRLF) in the response. This is to help prevent gateways from deciding the socket is idle and therefore closing it. This is only applicable to `feed=longpoll` or `feed=continuous`. This will override any timeouts to keep the feed alive indefinitely. Setting to 0 results in no heartbeat. The maximum heartbeat can be set in the server replication configuration. If heartbeat is non zero, it must be at least 25000 milliseconds.
179179
type: integer
180+
default: 0
180181
timeout:
181182
description: 'This is the maximum period (in milliseconds) to wait for a change before the response is sent, even if there are no results. This is only applicable for `feed=longpoll` or `feed=continuous` changes feeds. Setting to 0 results in no timeout.'
182183
type: integer
184+
default: 300000
185+
maximum: 900000
186+
minimum: 0
183187
feed:
184188
description: 'The type of changes feed to use. '
185189
type: string

0 commit comments

Comments
 (0)