Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan-Ultra committed May 29, 2024
1 parent 1da974f commit c3da90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dgraphql/resolvers/trxcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
type TrxCache struct {
capacity int
data map[string]*list.Element
order *list.List
order list.List
}

func NewTrxCache(capacity int) *TrxCache {
return &TrxCache{
capacity: capacity,
data: make(map[string]*list.Element),
order: list.New(),
order: *list.New(),
}
}

Expand Down

0 comments on commit c3da90f

Please sign in to comment.