feat: add support for request timeout settings in the HTTP request node. (#3854)

Co-authored-by: Yeuoly <admin@srmxy.cn>
This commit is contained in:
majian
2024-04-29 13:59:07 +08:00
committed by GitHub
parent 2f84d00300
commit 8f2ae51fe5
17 changed files with 286 additions and 10 deletions

View File

@@ -18,6 +18,11 @@ const nodeDefault: NodeDefault<HttpNodeType> = {
type: BodyType.none,
data: '',
},
timeout: {
max_connect_timeout: 0,
max_read_timeout: 0,
max_write_timeout: 0,
},
},
getAvailablePrevNodes(isChatMode: boolean) {
const nodes = isChatMode