gotosocial/internal
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
..
ap [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
api [bugfix] Clamp admin report limit <1 to 100 (#1583) 2023-03-03 14:01:11 +01:00
cache [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
config [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
db [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
email [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
federation [bugfix] on deref new account, check db again for account on ErrAlreadyExists (#1581) 2023-03-03 09:34:34 +01:00
gotosocial [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
gtserror [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
gtsmodel [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
httpclient [chore] Move request validation earlier in client (#1531) 2023-02-19 11:01:15 +00:00
id [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
iotools [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
log [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
media [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
messages [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
middleware [bug] Pass context in logging middleware (#1514) 2023-02-17 12:37:57 +01:00
netutil [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
oauth [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
oidc [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
processing [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
regexes [feature] Federate reports to remote instance as Flag (if desired) (#1386) 2023-01-27 14:48:11 +01:00
router [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
state [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
storage [chore/performance] simplify storage driver to use storage.Storage directly (#1576) 2023-03-01 10:44:54 +01:00
stream [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
text [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
timeline [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
trans [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
transport [chore] transport improvements (#1524) 2023-02-18 17:02:19 +01:00
typeutils [bugfix] Federate status delete using just the URI (#1584) 2023-03-03 19:56:34 +00:00
uris [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
util [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
validate [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
visibility [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
web [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
workers [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00