You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2b7db5
Browse filesBrowse the repository at this point in the historyBrowse files
* Processing: redrawn bases are charged, the credit check counts pages, billing hears a build finish even when its check fails (#199)
- A document's base drawn again with the head's settings is a render the build made that none of its snapshots points
at; the charge counted only renders its snapshots point at, so those pages were never charged. It now counts every
render the build made.
- The part-way credit check ran every 200 snapshots, so a build of long documents could compare thousands of pages
past its credits. It now counts pages (a document's from its render).
- finished() returned early when BuildChanged's dispatch failed (a forge that's down), so CreditsSpent (low-credit
emails, automatic packs) never ran. Both run now, and the first error is returned.
* Tests: each test's pool holds at most 4 connections (sc-9385)
The suite is one binary whose tests boot at once, each with its own pool of up to 10: a CI runner's threads asked
Postgres for more than its 100 connections, and tests failed at boot with "pool timed out".
0 commit comments