Server bulk loader: Avoids a panic when loading a very small file

Bug #200
pull/216/head
Tpt 3 years ago
parent 325b2c8f58
commit aeb79dd572
  1. 2
      server/src/main.rs

@ -84,7 +84,7 @@ pub fn main() -> std::io::Result<()> {
"{} triples loaded in {}s ({} t/s) from {}",
size,
elapsed.as_secs(),
size / elapsed.as_secs(),
((size as f64) / elapsed.as_secs_f64()).round(),
f
)
});

Loading…
Cancel
Save