Skip to content

acuminous/x-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO

  • initialPoolSize (can be less than min for quick start, but must be less than or equal to max). Used to size the pool on startup
  • Resource reset
  • autoStart
  • Reap Idle resources
    • maxIdleTime
  • FIFO vs LIFO
  • Limit stop concurrency
  • Add error code
  • Option to stop quickly, which aborts queued requests (but not dispatched ones)
  • Resources which timeout during acquision but not creation/validation are currently moved to segregated. This means we will not wait for them to be created when stopping the pool. We might need another "ward" for commands that haven't timed out yet when the start/acquire/stop timesous
  • Check factory destroy is actually called from tests
  • Kill pool when an event listener throws an error instead of emitting an error
  • Rename Requests AsyncRequest (as they have a latch, and yield)
  • Make Validate values a Symbol (possibly using yup to convert from strings)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published