gotosocial/internal/processing/federation
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
..
federation.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
getemoji.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
getfollowers.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getfollowing.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getnodeinfo.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
getoutbox.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getstatus.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getstatusreplies.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getuser.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
getwebfinger.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00
postinbox.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00