Skip to content

Commit

Permalink
Merge pull request #29 from beclab/feat/extractor
Browse files Browse the repository at this point in the history
sync key add model name
  • Loading branch information
kaki-admin authored Aug 14, 2024
2 parents 6c7b61d + 121483a commit fa33dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prerank-stages/recall/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func main() {
source := common.GetAlgorithmSource()
startTimestamp := int64(time.Now().UTC().Unix())

syncKey := common.GetSyncProvider() + common.GetSyncFeedName()
syncKey := common.GetSyncProvider() + common.GetSyncFeedName() + "_" + common.GetSyncModelName()
lastSyncTimeStr, _ := api.GetRedisConfig(syncKey, "last_sync_time").(string)
if lastSyncTimeStr == "" {
common.Logger.Info("sync data is not end no execute", zap.String("syncKey:", syncKey))
Expand Down

0 comments on commit fa33dd1

Please sign in to comment.