mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 11:52:25 -05:00
whoops
This commit is contained in:
parent
228b41cb53
commit
408ddc367d
1 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ func init() {
|
|||
Column("id").
|
||||
Where("? < ?", bun.Ident("id"), maxID).
|
||||
OrderExpr("? DESC", bun.Ident("id")).
|
||||
Limit(250).
|
||||
Limit(1000).
|
||||
Scan(ctx); err != nil && !errors.Is(err, sql.ErrNoRows) {
|
||||
return gtserror.Newf("error selecting unthreaded statuses: %w", err)
|
||||
}
|
||||
|
|
@ -137,13 +137,13 @@ func init() {
|
|||
log.Infof(
|
||||
ctx,
|
||||
"[~%.0f rows/s; updated %d total rows] migrated ~%.2f%% of statuses",
|
||||
updatedRowsTotal, rowsPerSecond, percentDone,
|
||||
rowsPerSecond, updatedRowsTotal, percentDone,
|
||||
)
|
||||
} else {
|
||||
log.Infof(
|
||||
ctx,
|
||||
"[~%.0f rows/s; updated %d total rows] almost done... ",
|
||||
updatedRowsTotal, rowsPerSecond,
|
||||
rowsPerSecond, updatedRowsTotal,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue