Provide task queue registration and service container injection.
This commit is contained in:
parent
0d2ad6e936
commit
912ae2ca6b
5 changed files with 96 additions and 78 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue