Comments (5)
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.
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.
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.
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.
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)
- Crash on Amazon Ubuntu HOT 1
- Feature request: Allow variable server IP and Passwords HOT 3
- Feature request: automatic retry on error
- Additional Authentication Methods for Azure SQL HOT 3
- Bulk Insert random insertion on the table
- Instance Name HOT 2
- Multiple queries doesn't show multiple record set
- Does not install with nodejs 20 (@azure/msal-node issue) HOT 7
- SQL Server 2022 HOT 1
- Bulk insert does not work. HOT 11
- I would need "ApplicationIntent=ReadOnly" in the SQL connection string HOT 3
- Environment variables do not appear to be working ? HOT 1
- Support for Node.js 20 HOT 2
- bigint being returned as a string HOT 1
- error: cannot read property 'on' of undefined HOT 3
- Node red crashed due to an sql error
- Version 0.12.1 suddenly becomes dependent on @azure/core-rest-pipeline Version 1.13.0 which breaks on latest NodeRED HOT 3
- Uncaught Exception while stopping flows (during deploy) HOT 1
- Expected minimum version of Node (>=18) should be reflected in package.json (>=12). HOT 3
- Older SQL Node are not properly configured HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-mssql-plus.