Provide task queue registration and service container injection.

This commit is contained in:
mikestefanello 2024-06-19 13:53:44 -04:00
parent 0d2ad6e936
commit 912ae2ca6b
5 changed files with 96 additions and 78 deletions

View file

@ -72,9 +72,9 @@ func NewContainer() *Container {
// Shutdown shuts the Container down and disconnects all connections
func (c *Container) Shutdown() error {
if err := c.Tasks.Close(); err != nil {
return err
}
//if err := c.Tasks.Close(); err != nil {
// return err
//}
if err := c.ORM.Close(); err != nil {
return err
}