mirror of
https://github.com/matrix-construct/construct
synced 2024-05-29 00:03:45 +02:00
ircd:Ⓜ️:fetch: Fix missing condition for initial random target selection.
This commit is contained in:
parent
e7bdcedd29
commit
e44fcf62bf
|
@ -400,6 +400,9 @@ try
|
|||
if(!request.opts.attempt_limit || request.attempted.size() < request.opts.attempt_limit)
|
||||
select_random_remote(request);
|
||||
|
||||
if(!request.started && !request.origin)
|
||||
select_random_remote(request);
|
||||
|
||||
if(!request.started)
|
||||
request.started = ircd::now<system_point>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue