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
commit 8f2ae51fe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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