This PR adds support for destroy as an option for the stop() method.
If the database connection is handled by pb-boss, this option will make it possible to close the pg connection pool.
Coverage: 100.0%. Remained the same when pulling 1f315b12260278ed7afc5f392920bb34b7620c55 on abelsoares:enhancement/destroy-option into 6e7a077f9cda8661729f4fbb32b54caff64dcca5 on timgit:master.
This PR adds support for
destroy
as an option for thestop()
method.If the database connection is handled by
pb-boss
, this option will make it possible to close thepg
connection pool.Closes #318