mirror of
https://github.com/matrix-construct/construct
synced 2025-02-19 18:20:19 +01:00
ircd:Ⓜ️:fetch: Fix missing condition for initial random target selection.
This commit is contained in:
parent
e7bdcedd29
commit
e44fcf62bf
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue