Giter Club home page Giter Club logo

Comments (4)

vlastahajek avatar vlastahajek commented on May 27, 2024

@allstream, unfortunately, it is not configurable now. We will make this configurable in the next version. You should be able to work-around this by manually changing the library sources in the package folder.
On the other hand, a query shouldn't take so long. Is the server under a heavy load?
Or, are you expecting a lot of rows returned, or do you use some data manipulation functions on a lot of rows?

from influxdb-client-go.

allstream avatar allstream commented on May 27, 2024

@vlastahajek Thanks for the quick response. To answer your question about heavy load / lots of results:
I've been doing some benchmarks since I'm looking at various TSDB's to see what matches our organizations needs and thought that this was a strange issue. The query would return a lot of results, wouldn't say it's heavy load.

from influxdb-client-go.

vlastahajek avatar vlastahajek commented on May 27, 2024

@allstream, I've managed to add the update for this in the version we've released today. Check new version, please, if it works for you. The default timeout remained the same, but you can change it easily:

client := influxdb2.NewClientWithOptions("http://localhost:9999", "token", DefaultOptions().SetHttpRequestTimeout(50))

from influxdb-client-go.

allstream avatar allstream commented on May 27, 2024

@vlastahajek Got the new version and changed my code and it's all working great! took 24 seconds to run my query. Thanks a lot!

from influxdb-client-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.