Skip to content

Commit

Permalink
fix rebase issues due to updated code
Browse files Browse the repository at this point in the history
Signed-off-by: kim <[email protected]>
  • Loading branch information
NyaaaWhatsUpDoc committed Aug 3, 2023
1 parent d662961 commit a92224c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions internal/cache/gts.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,9 @@ func (c *GTSCaches) initBlockIDs() {
}

func (c *GTSCaches) initBoostOfIDs() {
c.boostOfIDs = &SliceCache[string]{Cache: ttl.New[string, []string](
c.boostOfIDs = &SliceCache[string]{Cache: simple.New[string, []string](
0,
1000,
0,
)}
}

Expand Down Expand Up @@ -496,10 +495,9 @@ func (c *GTSCaches) initInstance() {
}

func (c *GTSCaches) initInReplyToIDs() {
c.inReplyToIDs = &SliceCache[string]{Cache: ttl.New[string, []string](
c.inReplyToIDs = &SliceCache[string]{Cache: simple.New[string, []string](
0,
1000,
0,
)}
}

Expand Down Expand Up @@ -713,10 +711,9 @@ func (c *GTSCaches) initTag() {
}

func (c *GTSCaches) initStatusFaveIDs() {
c.statusFaveIDs = &SliceCache[string]{Cache: ttl.New[string, []string](
c.statusFaveIDs = &SliceCache[string]{Cache: simple.New[string, []string](
0,
1000,
0,
)}
}

Expand Down

0 comments on commit a92224c

Please sign in to comment.