mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 13:32:26 -06:00
[feature/performance] Store account stats in separate table (#2831)
* [feature/performance] Store account stats in separate table, get stats from remote * test account stats * add some missing increment / decrement calls * change stats function signatures * rejig logging a bit * use lock when updating stats
This commit is contained in:
parent
f79d50b9b2
commit
3cceed11b2
43 changed files with 1285 additions and 450 deletions
|
|
@ -40,7 +40,7 @@ func (d *Dereferencer) dereferenceCollection(ctx context.Context, username strin
|
|||
|
||||
rsp, err := transport.Dereference(ctx, pageIRI)
|
||||
if err != nil {
|
||||
return nil, gtserror.Newf("error deferencing %s: %w", pageIRI.String(), err)
|
||||
return nil, gtserror.Newf("error dereferencing %s: %w", pageIRI.String(), err)
|
||||
}
|
||||
|
||||
collect, err := ap.ResolveCollection(ctx, rsp.Body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue