gotosocial/internal/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
..
dereferencing [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
federatingdb [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
authenticate.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
clock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
commonbehavior.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
dereference.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
federatingactor.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
federatingactor_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
federatingprotocol.go [feature/performance] Fail fast when doing remote transport calls inside incoming request contexts (#1119) 2022-11-23 21:40:07 +00:00
federatingprotocol_test.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
federator.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
federator_test.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
gone.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
handshake.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
transport.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00