This commit is contained in:
@@ -262,6 +262,9 @@ func initWorkerRuntime(ctx context.Context, cfg *config.Config, appLogger *zap.L
|
||||
pollingDeviceStore,
|
||||
appLogger,
|
||||
)
|
||||
if stopResumeSvc, ok := workerResult.Services.StopResumeService.(*iot_card_svc.StopResumeService); ok {
|
||||
stopResumeSvc.SetPollingCallback(lifecycleSvc)
|
||||
}
|
||||
|
||||
return &workerRuntime{
|
||||
redisAddr: redisAddr,
|
||||
|
||||
Reference in New Issue
Block a user