|
|
|
@@ -57,6 +57,7 @@ func SyncGrampusQueue(doerId int64) error { |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
log.Info("SyncGrampusQueue result = %+v", r) |
|
|
|
queueUpdateList := make([]models.ResourceQueue, 0) |
|
|
|
queueInsertList := make([]models.ResourceQueue, 0) |
|
|
|
existIds := make([]int64, 0) |
|
|
|
@@ -114,6 +115,8 @@ func SyncGrampusQueueAndSpecs() { |
|
|
|
log.Error("PANIC:", combinedErr) |
|
|
|
} |
|
|
|
}() |
|
|
|
log.Info("start to sync grampus queue and specs") |
|
|
|
SyncGrampusQueue(0) |
|
|
|
SyncGrampusSpecs(0) |
|
|
|
log.Info("sync grampus queue and specs finished") |
|
|
|
} |