Skip to content

Commit

Permalink
fix: improve start up times in some environments
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAcollision committed Feb 22, 2025
1 parent a74dc34 commit 834520d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubky-testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct Testnet {
impl Testnet {
/// Run a new testnet.
pub async fn run() -> Result<Self> {
let dht = mainline::Testnet::new(10)?;
let dht = mainline::Testnet::new(3)?;

let mut testnet = Self {
dht,
Expand All @@ -42,7 +42,7 @@ impl Testnet {
/// 2. A Homeserver with address is hardcoded to `8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn435ewo`
/// 4. An HTTP relay running on port [15412](pubky_common::constants::testnet_ports::HTTP_RELAY)
pub async fn run_with_hardcoded_configurations() -> Result<Self> {
let dht = mainline::Testnet::new(10)?;
let dht = mainline::Testnet::new(3)?;

dht.leak();

Expand Down

0 comments on commit 834520d

Please sign in to comment.