fix
This commit is contained in:
parent
a8a7132a66
commit
6cdb8b6e6b
|
@ -21,10 +21,10 @@ type ServiceContext struct {
|
|||
|
||||
func NewServiceContext(c config.Config) *ServiceContext {
|
||||
conn := initalize.InitMysql(c.SourceMysql)
|
||||
delayQueue := initalize.InitDelayMessage()
|
||||
// delayQueue := initalize.InitDelayMessage()
|
||||
repositories := initalize.NewAllRepositories(&initalize.NewAllRepositorieData{
|
||||
GormDB: conn,
|
||||
DelayQueue: delayQueue,
|
||||
GormDB: conn,
|
||||
// DelayQueue: delayQueue,
|
||||
})
|
||||
|
||||
return &ServiceContext{
|
||||
|
@ -32,6 +32,6 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
|||
MysqlConn: conn,
|
||||
AllModels: gmodel.NewAllModels(conn),
|
||||
Repositories: repositories,
|
||||
DelayQueue: delayQueue,
|
||||
// DelayQueue: delayQueue,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user