chore: Update ThreadTTLConfig (#6730)

Sync with underlying implementation.
This commit is contained in:
William FH
2026-02-03 10:52:33 -08:00
committed by GitHub
parent 63bd852da9
commit 86b65beb8f
3 changed files with 24 additions and 0 deletions
+2
View File
@@ -179,6 +179,8 @@ class CheckpointerConfig(TypedDict, total=False):
This configuration requires server version 0.5 or later to take effect.
"""
sweep_limit: int | None
"""Maximum number of threads to process per sweep iteration. Defaults to 1000."""
class SecurityConfig(TypedDict, total=False):
+11
View File
@@ -554,6 +554,17 @@
],
"description": "Optional. Defines the serde configuration.\n\nIf provided, the checkpointer will apply serde settings according to the configuration.\nIf omitted, no serde behavior is configured.\n\nThis configuration requires server version 0.5 or later to take effect.\n"
},
"sweep_limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Maximum number of threads to process per sweep iteration. Defaults to 1000."
},
"ttl": {
"anyOf": [
{
+11
View File
@@ -554,6 +554,17 @@
],
"description": "Optional. Defines the serde configuration.\n\nIf provided, the checkpointer will apply serde settings according to the configuration.\nIf omitted, no serde behavior is configured.\n\nThis configuration requires server version 0.5 or later to take effect.\n"
},
"sweep_limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Maximum number of threads to process per sweep iteration. Defaults to 1000."
},
"ttl": {
"anyOf": [
{