fix(lease): raise lease TTL 300s -> 3600s
MAX_LEASE_TTL_SECONDS (daemon cap+default) and DEFAULT_TTL_SECONDS (lease_promote client) both move to 3600. The 5-minute TTL made gated-by-default sessions unusable (re-promotion mid-task); 1 hour matches a working session. Full test:framework-shell RC=0. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_013SAYFkRhQfhguY7AHfiUC8
This commit is contained in:
co-authored by
Claude Fable 5
parent
9c3f054f20
commit
412ac4b004
@@ -39,7 +39,7 @@ MAX_FRAME: Final = 64 * 1024
|
|||||||
MAX_STATE: Final = 4 * 1024 * 1024
|
MAX_STATE: Final = 4 * 1024 * 1024
|
||||||
MAX_PENDING_TOKENS: Final = 256
|
MAX_PENDING_TOKENS: Final = 256
|
||||||
MAX_IN_FLIGHT_CONNECTIONS: Final = 16
|
MAX_IN_FLIGHT_CONNECTIONS: Final = 16
|
||||||
MAX_LEASE_TTL_SECONDS: Final = 300
|
MAX_LEASE_TTL_SECONDS: Final = 3600
|
||||||
STATE_VERSION: Final = 1
|
STATE_VERSION: Final = 1
|
||||||
READ_DEADLINE_SECONDS: Final = 1.0
|
READ_DEADLINE_SECONDS: Final = 1.0
|
||||||
HANDLE_QUEUE_TIMEOUT_SECONDS: Final = 1.0
|
HANDLE_QUEUE_TIMEOUT_SECONDS: Final = 1.0
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ BROKER_TIMEOUT_SECONDS: Final = 3.0
|
|||||||
SCHEMA_VERSION: Final = 1
|
SCHEMA_VERSION: Final = 1
|
||||||
MANIFEST_VERSION: Final = 1
|
MANIFEST_VERSION: Final = 1
|
||||||
GENERATOR_VERSION: Final = "mosaic/lease_promote@1"
|
GENERATOR_VERSION: Final = "mosaic/lease_promote@1"
|
||||||
DEFAULT_TTL_SECONDS: Final = 300
|
DEFAULT_TTL_SECONDS: Final = 3600
|
||||||
|
|
||||||
# Normative sources whose exact bytes bind the lease, in binding order. Order is
|
# Normative sources whose exact bytes bind the lease, in binding order. Order is
|
||||||
# load-bearing: ``h_source`` frames the resolved sequence, so reordering changes
|
# load-bearing: ``h_source`` frames the resolved sequence, so reordering changes
|
||||||
|
|||||||
Reference in New Issue
Block a user