upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-05 13:05:17 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-05 13:05:17 +0000
commit623cae575f8c9ce33f2d7fdc2526db495f846acb (patch)
tree41b346a136a6c3d56fcd7b8e522fab96a3da7b67 /src/main.rs
parent11b1655638b5a328662187a27f85a84df60fc759 (diff)
purgatory: add state git data sync
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index d382462..fbe3e34 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,5 @@
1use std::sync::Arc;
2use std::time::Duration; 1use std::time::Duration;
2use std::{path::PathBuf, sync::Arc};
3 3
4use anyhow::Result; 4use anyhow::Result;
5use tokio::signal; 5use tokio::signal;
@@ -49,7 +49,9 @@ async fn main() -> Result<()> {
49 }; 49 };
50 50
51 // Create purgatory for event/git coordination 51 // Create purgatory for event/git coordination
52 let purgatory = Arc::new(Purgatory::new()); 52 let purgatory = Arc::new(Purgatory::new(PathBuf::from(
53 config.effective_git_data_path(),
54 )));
53 info!("Purgatory initialized for event coordination"); 55 info!("Purgatory initialized for event coordination");
54 56
55 // Create Nostr relay with NIP-34 validation 57 // Create Nostr relay with NIP-34 validation