A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go

update rate limit calculation

evan.jarrett.net 5b722b3c 0d00de76

verified
+3 -4
+3 -4
pkg/hold/gc/gc.go
··· 765 765 "total", len(missing)) 766 766 } 767 767 768 - // Throttle to avoid flooding the firehose (~100 records/sec) 769 - if i < len(missing)-1 { 770 - time.Sleep(10 * time.Millisecond) 771 - } 768 + // Throttle: ramp delay based on record index to avoid flooding relays 769 + delay := max(10*time.Millisecond, time.Duration(i)*100*time.Microsecond) 770 + time.Sleep(delay) 772 771 } 773 772 774 773 if result.RecordsReconciled > 0 {