Giter VIP home page Giter VIP logo

Comments (3)

mt-mrx avatar mt-mrx commented on August 16, 2024 1

An ugly workaround, but which fixes my issue at least, is the following code change in the directory /opt/iobroker/iobroker-data/node-red/node_modules of my iobroker installation.
However I think it needs to be reapplied every time iobroker/node-red is updated and the module is reinstalled

--- node-red-contrib-influxdb/influxdb.js.orig  2023-05-07 21:49:45.571852400 +0200
+++ node-red-contrib-influxdb/influxdb.js       2023-05-07 22:03:18.672948454 +0200
@@ -58,9 +58,11 @@ module.exports = function (RED) {
                 `${this.credentials.username}:${this.credentials.password}` :
                 this.credentials.token;
 
+            //2023-05-07: mt-mrx: Increase default query timeout from 10s to 60s
             clientOptions = {
                 url: n.url,
                 rejectUnauthorized: n.rejectUnauthorized,
+                timeout: 60000,
                 token
             }
             this.client = new InfluxDB(clientOptions);

from node-red-contrib-influxdb.

mblackstock avatar mblackstock commented on August 16, 2024 1

added a configuration property for 1.8 and 2.x versions in version 0.7.0

from node-red-contrib-influxdb.

mt-mrx avatar mt-mrx commented on August 16, 2024

Thanks, just tested it, works fine!

from node-red-contrib-influxdb.

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.