aboutsummaryrefslogtreecommitdiff
path: root/server/src/bin
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-02 01:41:33 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-02 01:41:37 +0200
commit6c4fb2a9d5bf0fde77a6633cb244828852559b04 (patch)
treee39555afb74c2fdc561679cac9567ef0a4519b03 /server/src/bin
parent52e7384c955d6fcfe5d522c3c4d5258de38f3507 (diff)
downloadhurrycurry-6c4fb2a9d5bf0fde77a6633cb244828852559b04.tar
hurrycurry-6c4fb2a9d5bf0fde77a6633cb244828852559b04.tar.bz2
hurrycurry-6c4fb2a9d5bf0fde77a6633cb244828852559b04.tar.zst
move things around, add scoreboards load/save module
Diffstat (limited to 'server/src/bin')
-rw-r--r--server/src/bin/graph.rs2
-rw-r--r--server/src/bin/graph_summary.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/bin/graph.rs b/server/src/bin/graph.rs
index 0bc3702f..c6f1ee11 100644
--- a/server/src/bin/graph.rs
+++ b/server/src/bin/graph.rs
@@ -22,7 +22,7 @@ use hurrycurry_server::data::DataIndex;
#[tokio::main]
async fn main() -> Result<()> {
let mut index = DataIndex::default();
- index.reload()?;
+ index.reload().await?;
println!("digraph {{");
diff --git a/server/src/bin/graph_summary.rs b/server/src/bin/graph_summary.rs
index 2c97799a..374d9521 100644
--- a/server/src/bin/graph_summary.rs
+++ b/server/src/bin/graph_summary.rs
@@ -23,7 +23,7 @@ use std::collections::HashSet;
#[tokio::main]
async fn main() -> Result<()> {
let mut index = DataIndex::default();
- index.reload()?;
+ index.reload().await?;
println!("digraph {{");