···2626mod utils;
27272828const BF_QUEUE: &str = "backfill_queue";
2929-const DL_DUP_KEY: &str = "bf_completed";
3029// There's a 4MiB limit on parakeet-index, so break delta batches up if there's loads.
3130// this should be plenty low enough to not trigger the size limit. (59k did slightly)
3231const DELTA_BATCH_SIZE: usize = 32 * 1024;
···133132 did: &str,
134133) -> eyre::Result<()> {
135134 // has the repo already been downloaded?
136136- if rc.sismember(DL_DUP_KEY, did).await.unwrap_or_default() {
137137- tracing::info!("skipping duplicate repo {did}");
138138- return Ok(());
139139- }
140140-141141- // check if they're already synced in DB too
142135 match db::actor_get_statuses(conn, did).await {
143136 Ok(Some((_, state))) => {
144137 if state == ActorSyncState::Synced || state == ActorSyncState::Processing {