添加数据源查询报错Net/Http Timeout Awaiting Response Headers

Viewed 39
1 Answers

config.toml中http超时时间调大2倍,是指这段吗,如果是我看这好像是n9e提供http服务的配置。

[HTTP]
...
# http server read timeout, unit: s
ReadTimeout = 20
# http server write timeout, unit: s
WriteTimeout = 40
# http server idle timeout, unit: s
IdleTimeout = 120

数据源配置页面倒是有个配置项‘超时(单位:ms)’,是不是改这里能符合你的预期。

嗯嗯可以的,感谢了