mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-26 17:13:32 -06:00
[performance] reduce InboxForward->Create calls by partially implementing Exists() (#3647)
* alphabetical reordering * keep a cache of activity IDs we have handled creates for * reduce number of inbox forwarding create calls by partially implementing Exists() * increase cache size, since all we're storing is string keys
This commit is contained in:
parent
5c0514e83c
commit
0a99901c65
6 changed files with 29 additions and 23 deletions
|
|
@ -33,7 +33,7 @@ import (
|
|||
var _ interface {
|
||||
pub.CommonBehavior
|
||||
pub.FederatingProtocol
|
||||
} = &Federator{}
|
||||
} = (*Federator)(nil)
|
||||
|
||||
type Federator struct {
|
||||
db db.DB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue