Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Per-db initialization timeouts and callbacks #5
I've reworked the initialization logic to keep the callback checks per db, I'm not sure if it is good mojo to add properties to 'db' or not but that seemed the simplest. If you don't like that I would redo it with a global domains object keyed by dbName and store them there.
I added the timeout with config option and default of 30 secs, I haven't tested it but it seems straight-forward.