Skip to content

Commit eb496ba

Browse files
docs: remove incorrect minimum value from idle timeout docs
The runtime does not enforce a minimum value for the session idle timeout - any positive value is accepted. Remove the 'Minimum value: 300 (5 minutes)' note from all SDK docstrings and docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 93e1c4e commit eb496ba

5 files changed

Lines changed: 1 addition & 5 deletions

File tree

docs/features/session-persistence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ const client = new CopilotClient({
441441
});
442442
```
443443

444-
When a timeout is configured, sessions without activity for that duration are automatically cleaned up. The minimum value is 300 seconds (5 minutes). Set to `0` or omit to disable.
444+
When a timeout is configured, sessions without activity for that duration are automatically cleaned up. Set to `0` or omit to disable.
445445

446446
> **Note:** This option only applies when the SDK spawns the runtime process. When connecting to an existing server via `cliUrl`, the server's own timeout configuration applies.
447447

dotnet/src/Types.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ public string? GithubToken
170170
/// Server-wide idle timeout for sessions in seconds.
171171
/// Sessions without activity for this duration are automatically cleaned up.
172172
/// Set to <c>0</c> or leave as <see langword="null"/> to disable (sessions live indefinitely).
173-
/// Minimum value: 300 (5 minutes).
174173
/// This option is only used when the SDK spawns the CLI process; it is ignored
175174
/// when connecting to an external server via <see cref="CliUrl"/>.
176175
/// </summary>

go/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ type ClientOptions struct {
7474
// SessionIdleTimeoutSeconds configures the server-wide session idle timeout in seconds.
7575
// Sessions without activity for this duration are automatically cleaned up.
7676
// Set to 0 or leave unset to disable (sessions live indefinitely).
77-
// Minimum value: 300 (5 minutes).
7877
// This option is only used when the SDK spawns the CLI process; it is ignored
7978
// when connecting to an external server via CLIUrl.
8079
SessionIdleTimeoutSeconds int

nodejs/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ export interface CopilotClientOptions {
189189
* Server-wide idle timeout for sessions in seconds.
190190
* Sessions without activity for this duration are automatically cleaned up.
191191
* Set to 0 or omit to disable (sessions live indefinitely).
192-
* Minimum value: 300 (5 minutes).
193192
* This option is only used when the SDK spawns the CLI process; it is ignored
194193
* when connecting to an external server via {@link cliUrl}.
195194
* @default undefined (disabled)

python/copilot/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ class SubprocessConfig:
155155
156156
Sessions without activity for this duration are automatically cleaned up.
157157
Set to ``None`` or ``0`` to disable (sessions live indefinitely).
158-
Minimum value: 300 (5 minutes).
159158
This option is only used when the SDK spawns the CLI process.
160159
"""
161160

0 commit comments

Comments
 (0)