mirror of
1
Fork 0
gotosocial/internal
kim ede8f43635
[performance] temporarily cache account status counts to reduce no. account counts (#2620)
* temporarily cache account status counts to reduce no. account counts

* whoops, forgot to initAccountCounts()

* use already fetched cache capacity value

* make cache a ptr type

* whoops, use count instead of just select

* fix to correctly use the transaction

* properly wrap that tx 😇

* correctly wrap both tx types

* outline retryOnBusy() to allow the fast path to be inlined

* return err on context cancelled

* remove unnecessary storage of context in stmt, fix Exec and Query interface implementations

* shutup linter
2024-02-12 11:52:12 +00:00
..
ap [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
api [bugfix] Fix Postgres emoji delete, emoji category change (#2570) 2024-01-29 14:57:22 +00:00
cache [performance] temporarily cache account status counts to reduce no. account counts (#2620) 2024-02-12 11:52:12 +00:00
cleaner [bugfix] fix possible infinite loops in media / emoji cleanup (#2590) 2024-01-31 13:31:53 +00:00
config [chore/docs] Replace specific year range of copyright notice (#2520) 2024-01-13 16:33:53 +01:00
db [performance] temporarily cache account status counts to reduce no. account counts (#2620) 2024-02-12 11:52:12 +00:00
email [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
federation use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
gotosocial [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
gtscontext [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
gtserror [bugfix] Don't return Internal Server Error when searching for URIs that don't return AP JSON (#2550) 2024-01-22 14:38:45 +00:00
gtsmodel use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
id
iotools
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
media [bugfix] Fix Postgres emoji delete, emoji category change (#2570) 2024-01-29 14:57:22 +00:00
messages
metrics [chore] Downgrade OTEL libraries to 1.20 (#2546) 2024-01-21 11:34:12 +01:00
middleware [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
oauth [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
oidc
paging [bugfix] self-referencing collection pages for status replies (#2364) 2023-11-20 12:22:28 +00:00
processing use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
regexes [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
router [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
scheduler
state
storage
stream [feature] Push status edit messages into open streams (#2418) 2023-12-16 12:55:49 +01:00
text [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
timeline [bugfix] Ensure `pre` renders as expected, fix orderedCollectionPage (#2434) 2023-12-10 12:36:00 +01:00
tracing [chore] update otel -> v1.20.0 (#2358) 2023-11-13 11:08:02 +01:00
trans
transport [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
typeutils [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
uris [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
util [chore] Move `DoOnce` func wrapper to util (#2613) 2024-02-09 11:38:51 +00:00
validate
visibility [bugfix] parent status replied to status not dereferenced sometimes (#2587) 2024-01-31 13:29:47 +00:00
web [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
workers