Skip to content
11 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

The sidebar asks billing whether it is on, not for the account, so no page waits on the card processor1-- Per-workspace limits on usage not yet paid for. A row only exists when
2-- g1t set a ceiling by hand or an owner set a spend limit; everything
3-- else is worked out from the ledger. See src/limits.rs.
4CREATE TABLE limits (
5 workspace TEXT PRIMARY KEY,
6 -- Set by g1t after a review; replaces the ceiling trust would give.
7 ceiling_micros INTEGER,
8 -- The owner's own monthly limit, under g1t's.
9 spend_limit_micros INTEGER,
10 updated_at TEXT NOT NULL
11);

This file's history is long; its oldest lines are credited to the oldest commit read.