diff options
| author | aur-build <aur-build@localhost> | 2026-11-23 13:44:20 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-23 13:44:20 +0000 |
| commit | 4c143e969dcd7b6a18e5a86f9a754c9b62979ccf (patch) | |
| tree | c61c2274e3810669cef8319cf9980cbbe031f840 /src/ops.rs | |
| parent | 053dfbca8a4955a616e9b2c0f5a5d664c0db7aef (diff) | |
| download | aur-build-4c143e969dcd7b6a18e5a86f9a754c9b62979ccf.tar.gz aur-build-4c143e969dcd7b6a18e5a86f9a754c9b62979ccf.zip | |
usecase,http,pipeline,ops: keep the contract, drop the argument
A workflow's doc now says what it guarantees and stops defending its
existence: `subscribe` resolves the repo row, `approve` queues what the
approval buys, a per-item failure comes back as a value instead of a
panic. The history of which front end used to open-code it is gone.
The last census-war notes go with it — three places that explained why a
name in a test string was not a caller.
Diffstat (limited to 'src/ops.rs')
| -rw-r--r-- | src/ops.rs | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -320,11 +320,6 @@ pub fn retention(cfg: &Config, db: &Db, keep: Option<usize>) -> Result<Retention } /// How long a file may sit in staging before the sweep considers it abandoned. -/// -/// The value lives once, in a private const, so the two visibility aliases below -/// cannot drift apart. Production reaches the grace period through -/// `run_maintenance`, which is the only thing that sweeps; a test that pins the -/// number is a test, not a caller. const STAGING_GRACE_SECS_VALUE: i64 = 3600; #[cfg(feature = "test-support")] |
