Skip to content

feat(api): fill network slots from a pool of distinct carbon ads - #106

Merged
distroinfinity merged 1 commit into
mainfrom
carbon-pool
Sep 19, 2026
Merged

distroinfinity merged 1 commit into
mainfrom
carbon-pool

Conversation

@distroinfinity

Copy link
Copy Markdown
Owner

Carbon returns one ad per call, so only the first slot of each batch was a network ad and the rest were house promos. The API now keeps a small pool of distinct Carbon ads (3 calls at most once a minute, 30-minute ttl, max 8) and fills three of every four network slots from it, rotating across batches. House ads fill everything when the pool is empty. Direct (advertiser-written) ads still come first by bid.

@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devdrip Ready Ready Preview Sep 19, 2026 9:44pm UTC

@distroinfinity
distroinfinity merged commit 1be5e82 into main Sep 19, 2026
5 checks passed
@distroinfinity
distroinfinity deleted the carbon-pool branch September 19, 2026 21:45

This branch was successfully deployed

1 active deployment
Preview — c17b131e Deployed Sep 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant