GithubHelp home page GithubHelp logo

Comments (5)

pedrossag avatar pedrossag commented on May 27, 2024

After hacking around I've hardcoded Polsize max to 5 regardless of the node config. Restarted nodered and the problem was gone.
Reset the js code to default and it is still working after restarting nodered.

Can anyone explain this behaviour? And what is Tarn and opt??

from node-red-contrib-mssql-plus.

Steve-Mcl avatar Steve-Mcl commented on May 27, 2024

Hi, could you provide more info please?

What did you hack?
Where did you set max to 5?

Let us know & I'll get it look at.

Thanks.

from node-red-contrib-mssql-plus.

pedrossag avatar pedrossag commented on May 27, 2024

Hi, thank you for the reply. I've modified mssql.js and changed the pool object s.t. it ignores the max from node red:
pool: { max: 5, //was: parseInt(config.pool), min: 0, idleTimeoutMillis: 3000, //log: (message, logLevel) => console.log(POOL: [${logLevel}] ${message}) }
As I mentioned in the original post, I was not able to reproduce the error even after resetting the code to default. It looks like there was kind of a misconfiguration that got resolved somehow. Because of that I was curoius about the error messages meaning.

from node-red-contrib-mssql-plus.

Steve-Mcl avatar Steve-Mcl commented on May 27, 2024

So, I suspect config.pool - did you perhaps import a flow or upgrade from another MSSQL node?

If so, then pool may not have been present in the flow.

That explains why once you set it & deployed, your flow got a value for pool (and therefore the error disappeared.

I will handle this issue and others to improve the importing of flows without certain properties.

Will update REPO and NPM today & feedback.

from node-red-contrib-mssql-plus.

pedrossag avatar pedrossag commented on May 27, 2024

Hmm.. I've updated NodeRed as well as the MSSQL Node. So this might have caused the issue.

Thanks for your support and your commitment to this project!

klib

from node-red-contrib-mssql-plus.

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.