[chore] renames the GTS caches to DB caches (#3127)

* renames the `GTS` caches to `DB` caches, as it better references what they are

* change remaining Caches.GTS uses to Caches.DB
This commit is contained in:
kim
2024-07-24 09:41:43 +01:00
committed by GitHub
parent 325b4a2b4a
commit 63fc9b6c3e
39 changed files with 376 additions and 378 deletions

View File

@@ -631,7 +631,7 @@ func (suite *ASToInternalTestSuite) TestParseHonkAccount() {
suite.False(*dbAcct.Discoverable)
// Clear caches.
suite.state.Caches.GTS = cache.GTSCaches{}
suite.state.Caches.DB = cache.DBCaches{}
suite.state.Caches.Init()
dbAcct, err = suite.db.GetAccountByID(ctx, acct.ID)