gotosocial/internal/processing/media
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
..
create.go [chore] Deinterface processor and subprocessors (#1501) 2023-02-22 16:05:26 +01:00
delete.go [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
getemoji.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
getemoji_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
getfile.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
getfile_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
getmedia.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
media.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
media_test.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
unattach.go [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
unattach_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
update.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
util.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00