diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
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 @@ | |||
| 1 | use std::sync::Arc; | ||
| 2 | use std::time::Duration; | 1 | use std::time::Duration; |
| 2 | use std::{path::PathBuf, sync::Arc}; | ||
| 3 | 3 | ||
| 4 | use anyhow::Result; | 4 | use anyhow::Result; |
| 5 | use tokio::signal; | 5 | use 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 |