mirror of
https://github.com/matrix-construct/construct
synced 2024-06-28 14:58:20 +02:00
ircd:Ⓜ️:init::backfill: Disable the rooms count estimate at start.
This commit is contained in:
parent
49752c3663
commit
e2f2120739
|
@ -122,7 +122,7 @@ try
|
|||
// before this task completes.
|
||||
const auto estimate
|
||||
{
|
||||
rooms::count(opts)
|
||||
1UL //rooms::count(opts)
|
||||
};
|
||||
|
||||
if(!estimate)
|
||||
|
@ -130,7 +130,7 @@ try
|
|||
|
||||
log::notice
|
||||
{
|
||||
log, "Starting initial backfill of %zu rooms from other servers...",
|
||||
log, "Starting initial backfill of rooms from other servers...",
|
||||
estimate,
|
||||
};
|
||||
|
||||
|
@ -165,12 +165,11 @@ try
|
|||
handle_missing(room_id);
|
||||
log::info
|
||||
{
|
||||
log, "Initial backfill of %s complete:%zu of estimate:%zu %02.2lf%%",
|
||||
log, "Initial backfill of %s complete:%zu", //estimate:%zu %02.2lf%%",
|
||||
string_view{room_id},
|
||||
complete,
|
||||
estimate,
|
||||
(complete / double(estimate)) * 100.0,
|
||||
count,
|
||||
};
|
||||
|
||||
return !ctx::interruption_requested();
|
||||
|
|
Loading…
Reference in a new issue