hapipal / schwifty

A model layer for hapi integrating Objection ORM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

During teardown, should not call `knex.destroy()` on the same instance multiple times

devinivy opened this issue · comments

knex.destroy() is called on the same instance multiple times when multiple plugins use the same knex instance. Seems like one of those things that could cause unforeseen problems, esp as connections are drained in parallel.