Node.js 如何在express gateway中设置proxyTimeout?
我应该在gateway.config.yml中的什么位置放置proxyTimeoutNode.js 如何在express gateway中设置proxyTimeout?,node.js,timeout,express-gateway,Node.js,Timeout,Express Gateway,我应该在gateway.config.yml中的什么位置放置proxyTimeout 您可以在管道中为代理设置超时: pipelines: - name: default apiEndpoints: - test policies: - proxy: - action: serviceEndpoint: testService proxyTimeout: 6000 你弄明白了
您可以在管道中为代理设置超时:
pipelines:
- name: default
apiEndpoints:
- test
policies:
- proxy:
- action:
serviceEndpoint: testService
proxyTimeout: 6000
你弄明白了吗?