dendrite/federationapi/routing
Neil Alexander 4417f24678
Protect processEventWithMissingState with per-room mutex, to prevent mass CPU burn/RAM usage
Squashed commit of the following:

commit 7fad77c10e
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 15:06:52 2021 +0100

    Fix processEventWithMissingStateMutexes

commit 138cddcac7
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:59:44 2021 +0100

    Use internal.MutexByRoom

commit 6e6f026cfa
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:50:18 2021 +0100

    Try to slow things down per room

commit b97d406dff
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:41:27 2021 +0100

    Try to slow things down

commit 8866120ebf
Merge: 9f2de8a2 4a37b19a
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:40:33 2021 +0100

    Merge branch 'neilalexander/rsinputfifo' into neilalexander/rsinputfifo2

commit 4a37b19a8f
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:34:54 2021 +0100

    Add comments

commit f9ab3f4b81
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:31:21 2021 +0100

    Tweaks

commit 9f2de8a29c
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 13:15:59 2021 +0100

    Ask origin only for missing things for now

commit 8fd878c75a
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 11:18:11 2021 +0100

    Make sure someone wakes up

commit b63f699f1b
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Mon Jun 28 11:12:58 2021 +0100

    Use a FIFO queue instead of a channel to reduce backpressure
2021-06-28 15:11:59 +01:00
..
backfill.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
devices.go Use [] not null when there are no devices (#1480) 2020-10-06 11:05:15 +01:00
eventauth.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
events.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
invite.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
join.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
keys.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
leave.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
missingevents.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
openid.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
peek.go Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
profile.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
publicrooms.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
query.go Fix appsevice alias queries part 2 (#1684) 2021-03-03 17:00:31 +00:00
routing.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
send.go Protect processEventWithMissingState with per-room mutex, to prevent mass CPU burn/RAM usage 2021-06-28 15:11:59 +01:00
send_test.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
state.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
threepid.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
version.go Version imprint (#1383) 2020-09-02 16:18:08 +01:00