The request was canceled due to the configured HttpClient.Timeout of 10 seconds elapsing.

InfluxDB查询超时

using var client = InfluxDBClientFactory.Create(InfluxDBClientOptions.Builder.CreateNew()
                .TimeOut(new TimeSpan(1,1,1,1)).Url("http://172.26.172.122:8086").AuthenticateToken(_token).Build());
            var query = client.GetQueryApi();
            return await action(query);
posted @ 2022-08-26 17:01  喜爱糖葫芦  阅读(937)  评论(0编辑  收藏  举报