Skip to content

Commit

Permalink
Merge pull request #1115 from oom-ai/fix/batch-revision
Browse files Browse the repository at this point in the history
Fix/batch revision
  • Loading branch information
lianxmfor authored Jan 28, 2022
2 parents 7ca2328 + 03151f7 commit d25d7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oomstore/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *OomStore) Sync(ctx context.Context, opt types.SyncOpt) error {
return err
}
if !revision.Anchored {
newRevision := time.Now().Unix()
newRevision := time.Now().UnixMilli()
newChored := true
// Update revision timestamp using current timestamp
if err = tx.UpdateRevision(c, metadata.UpdateRevisionOpt{
Expand Down

0 comments on commit d25d7d9

Please sign in to comment.