search for standard sites pub-search.waow.tech
search zig blog atproto
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: use fresh httpx client for avatar fetch — old client was closed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz b45e3b98 9626fd3f

+3 -5
+3 -5
scripts/build-atlas
··· 498 498 unique_dids = {p["did"] for p in publications if p["did"]} 499 499 log(f" resolving avatars for {len(unique_dids)} unique authors...") 500 500 did_avatars: dict[str, str] = {} 501 - batch_size = 25 502 501 did_list = list(unique_dids) 503 - for i in range(0, len(did_list), batch_size): 504 - batch = did_list[i : i + batch_size] 505 - for did in batch: 502 + with httpx.Client() as avatar_client: 503 + for did in did_list: 506 504 try: 507 - resp = client.get( 505 + resp = avatar_client.get( 508 506 f"https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor={did}", 509 507 timeout=10, 510 508 )