upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-24 12:45:26 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-24 12:45:26 +0000
commit3f4dc8e1bc07f88c064d4734f5cc3ee87b1497e4 (patch)
treec25575ba4652e4179ff64f11605228b005de5e64 /src/lib.rs
parent62f829e2743c1fc5df108d10f1ee579f8568a91a (diff)
add background job to clean up grasp-audit test events and git repos
Spawns a tokio task that runs every 30 minutes and removes all events tagged 'grasp-audit-test-event' older than 2 hours from the LMDB database, along with their associated bare git repositories on disk.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8befd6f..d0e2c2d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,4 @@
1pub mod audit_cleanup;
1pub mod config; 2pub mod config;
2pub mod git; 3pub mod git;
3pub mod http; 4pub mod http;