gotosocial/internal/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
..
test [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
image.go [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
manager.go [chore] Update more log calls to include context (#1517) 2023-02-17 19:05:43 +00:00
manager_test.go [chore/performance] simplify storage driver to use storage.Storage directly (#1576) 2023-03-01 10:44:54 +01:00
media_test.go [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
png-stripper.go [bugfix] Keep png transparency (#1522) 2023-02-18 16:52:15 +01:00
processingemoji.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
processingmedia.go [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
prune.go [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
prune_test.go [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
refetch.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
refetch_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
types.go [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
video.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00