gotosocial/internal/federation/dereferencing
tobi c9d893fec1
[feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119)
* [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts

* [chore] Reduce outgoing request timeout to 15s

* log error messages when fastfailing

* use context.Value() instead of wrapped context, wrap error with fastfail instead of extra log entry

* add fast-fail context key test

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: kim <grufwub@gmail.com>
2022-11-23 21:40:07 +00:00
..
account.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
account_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
announce.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
collectionpage.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
dereferencer.go [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00
dereferencer_test.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
emoji.go [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00
emoji_test.go [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00
finger.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
handshake.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
instance.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
media.go [bugfix] Wrap media in read closer (#941) 2022-11-03 15:03:12 +01:00
media_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
status.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
status_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
thread.go [bugfix] more nil checks baybeeeeeeeeeeeeeeeeeeee (#854) 2022-09-26 10:50:14 +02:00
util.go [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00