Skip to content

Commit

Permalink
feat:support result cache, issue: TencentBlueKing#315
Browse files Browse the repository at this point in the history
  • Loading branch information
tbs60 committed Dec 31, 2024
1 parent 6484f90 commit 0993dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/booster/bk_dist/common/resultcache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func (rg *RecordGroup) HitIndex(record Record) (bool, error) {

for _, v := range rg.Group {
if record.EqualByKey(*v, CommandKey) {
if record.GreaterIntByKey(*v, RemoteExecuteTimeKey) {
if v.GreaterIntByKey(record, RemoteExecuteTimeKey) {
return true, nil
}
break
Expand Down

0 comments on commit 0993dae

Please sign in to comment.