From 9eff0d46e49b947dc2642207ee49ed657eb6b565 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 24 Jul 2023 13:14:13 +0100 Subject: [feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987) --- internal/db/bundb/media_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/bundb/media_test.go') diff --git a/internal/db/bundb/media_test.go b/internal/db/bundb/media_test.go index 6b419022a..59b927119 100644 --- a/internal/db/bundb/media_test.go +++ b/internal/db/bundb/media_test.go @@ -38,7 +38,7 @@ func (suite *MediaTestSuite) TestGetAttachmentByID() { } func (suite *MediaTestSuite) TestGetOlder() { - attachments, err := suite.db.GetRemoteOlderThan(context.Background(), time.Now(), 20) + attachments, err := suite.db.GetCachedAttachmentsOlderThan(context.Background(), time.Now(), 20) suite.NoError(err) suite.Len(attachments, 2) } -- cgit v1.2.3