GoToSocial/internal/db
kim a8e6bdfa33
[performance] cache media attachments (#1525)
* replace concurrency worker pools with base models in State.Workers, update code and tests accordingly

* add media attachment caching, slightly tweak default cache config

* further tweak default cache config values

* replace other media attachment db calls to go through cache

* update envparsing test

* fix delete media attachment sql

* fix media sql query

* invalidate cached media entries during status create / update

* fix envparsing test

* fix typo in panic log message...

* add 'updated_at' column during UpdateAttachment

* remove unused func

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-03-03 23:02:23 +00:00
..
bundb [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
account.go [feature] Client API endpoints + v. basic web view for pinned posts (#1547) 2023-02-25 12:16:30 +00:00
admin.go
basic.go
db.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
domain.go
emoji.go
error.go
instance.go
media.go [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
mention.go
notification.go
params.go
relationship.go
report.go
session.go
status.go [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
timeline.go
tombstone.go
user.go