mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 22:02:26 -05:00
move to ulid
This commit is contained in:
parent
625e6d654c
commit
26ee190338
51 changed files with 398 additions and 514 deletions
|
|
@ -35,12 +35,12 @@ import (
|
|||
|
||||
func (p *processor) HomeTimelineGet(authed *oauth.Auth, maxID string, sinceID string, minID string, limit int, local bool) (*apimodel.StatusTimelineResponse, gtserror.WithCode) {
|
||||
l := p.log.WithFields(logrus.Fields{
|
||||
"func": "HomeTimelineGet",
|
||||
"maxID": maxID,
|
||||
"func": "HomeTimelineGet",
|
||||
"maxID": maxID,
|
||||
"sinceID": sinceID,
|
||||
"minID": minID,
|
||||
"limit": limit,
|
||||
"local": local,
|
||||
"minID": minID,
|
||||
"limit": limit,
|
||||
"local": local,
|
||||
})
|
||||
|
||||
resp := &apimodel.StatusTimelineResponse{
|
||||
|
|
@ -53,7 +53,7 @@ func (p *processor) HomeTimelineGet(authed *oauth.Auth, maxID string, sinceID st
|
|||
sinceIDMarker := sinceID
|
||||
minIDMarker := minID
|
||||
|
||||
l.Debugf("\n entering grabloop \n")
|
||||
l.Debugf("\n entering grabloop \n")
|
||||
grabloop:
|
||||
for len(apiStatuses) < limit {
|
||||
l.Debugf("\n querying the db \n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue