mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-06 17:38:35 +00:00
test(mcp): stabilize idle reconnect timing
This commit is contained in:
parent
5e67fbf93e
commit
0eac82984c
@ -27,8 +27,10 @@ from nanobot.bus.queue import MessageBus
|
|||||||
from nanobot.config.schema import MCPServerConfig
|
from nanobot.config.schema import MCPServerConfig
|
||||||
from nanobot.security import network as security_network
|
from nanobot.security import network as security_network
|
||||||
|
|
||||||
_IDLE_TIMEOUT_SECONDS = 0.25
|
# Leave enough headroom for reconnect handshakes on slower CI hosts; each test
|
||||||
_IDLE_EXPIRY_GRACE_SECONDS = 0.25
|
# still waits beyond this deadline explicitly before exercising recovery.
|
||||||
|
_IDLE_TIMEOUT_SECONDS = 1.0
|
||||||
|
_IDLE_EXPIRY_GRACE_SECONDS = 0.5
|
||||||
_TOOL_TIMEOUT_SECONDS = 10
|
_TOOL_TIMEOUT_SECONDS = 10
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user