Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse authored Nov 4, 2023
1 parent ed367fc commit 07c6006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod structs;
async fn main() -> anyhow::Result<()> {
let last_update = Arc::new(atomic::AtomicI64::new(Utc::now().timestamp() / 60));
let last_update_clone = Arc::clone(&last_update);
const MONGO_URL: &str = "mongodb://zjobse:[email protected]:27017,194.242.57.81:27017,194.242.57.82:27017/serverManager?replicaSet=replica01&authSource=admin";
const MONGO_URL: &str = "mongodb://zjobse:[email protected]:27017";
let client = Client::with_uri_str(MONGO_URL).await?;
let db = &client.database("serverManager");

Expand Down

0 comments on commit 07c6006

Please sign in to comment.