upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/purgatory/sync/functions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/purgatory/sync/functions.rs')
-rw-r--r--src/purgatory/sync/functions.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/purgatory/sync/functions.rs b/src/purgatory/sync/functions.rs
index 9207d58..bd5c0c0 100644
--- a/src/purgatory/sync/functions.rs
+++ b/src/purgatory/sync/functions.rs
@@ -104,7 +104,7 @@ pub async fn sync_identifier_next_url<C: SyncContext + ?Sized>(
104 } 104 }
105 105
106 // 3. Get repository data 106 // 3. Get repository data
107 let repo_data = match ctx.fetch_repository_data(identifier).await { 107 let repo_data = match ctx.fetch_repository_data_with_purgatory(identifier).await {
108 Ok(data) => data, 108 Ok(data) => data,
109 Err(e) => { 109 Err(e) => {
110 debug!( 110 debug!(
@@ -228,7 +228,7 @@ pub async fn get_throttled_domains_with_untried_urls<C: SyncContext + ?Sized>(
228 throttle_manager: &ThrottleManager, 228 throttle_manager: &ThrottleManager,
229 git_naughty_list: &NaughtyListTracker, 229 git_naughty_list: &NaughtyListTracker,
230) -> Vec<ThrottledDomainInfo> { 230) -> Vec<ThrottledDomainInfo> {
231 let repo_data = match ctx.fetch_repository_data(identifier).await { 231 let repo_data = match ctx.fetch_repository_data_with_purgatory(identifier).await {
232 Ok(data) => data, 232 Ok(data) => data,
233 Err(_) => return vec![], 233 Err(_) => return vec![],
234 }; 234 };
@@ -333,7 +333,7 @@ pub async fn sync_identifier_from_url<C: SyncContext + ?Sized>(
333 }; 333 };
334 334
335 // Get repository data for target repo path 335 // Get repository data for target repo path
336 let repo_data = match ctx.fetch_repository_data(identifier).await { 336 let repo_data = match ctx.fetch_repository_data_with_purgatory(identifier).await {
337 Ok(data) => data, 337 Ok(data) => data,
338 Err(e) => { 338 Err(e) => {
339 debug!( 339 debug!(