update cicd
This commit is contained in:
@@ -45,7 +45,10 @@ func main() {
|
||||
// 4. Initialize Components
|
||||
appLogger := logger.NewLogger(cfg.Server.Mode)
|
||||
|
||||
module, err := grpc.NewGRPCModule(context.Background(), cfg, db, rdb, appLogger)
|
||||
appCtx, appCancel := context.WithCancel(context.Background())
|
||||
defer appCancel()
|
||||
|
||||
module, err := grpc.NewGRPCModule(appCtx, cfg, db, rdb, appLogger)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to setup gRPC runtime module: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user