panates / lightning-pool Goto Github PK
View Code? Open in Web Editor NEWHigh performance resource pool written with TypeScript
License: MIT License
High performance resource pool written with TypeScript
License: MIT License
I saw that you do have the index.d.ts file in the repo but it is not in the npm install. Am I missing something?
Edit: putting the index.d.ts file in the correct folder doesn't work either :(
My program never exits even after all connections are released and 30 seconds is elapsed.
This will not be a problem in a regular http server, but in a utility program it will be.
The only way to make it exit, is to call pool.close()
hey there, thanks for this brilliant library! i'm looking at the options and i guess not understanding the difference between min and minIdle, perhaps I thought all resources were idle if they were in the pool - can they be in other states?
Hello.
I am considering using your lib for pooling against mysql, sqlite and pg. I have been using generic-pool for some years, but upgrading to latest major gave me some surprises. The nodejs program never exits even though all clients are released. And I am also worried about the number of open issues - some of them quite old. Then I stumbled into your lightning-pool. It has few downloads, but the lib itself seems well written witten and maintained. I haven't tested it yet, but will do.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.