diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-10-10 20:06:03 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-10-11 12:53:37 +0400 |
| commit | 8f1208d48fbc3c7e6de7870110fb981e9a467aa4 (patch) | |
| tree | 5172b0bdc193bbc06b6115aaf5e5df5fe35e24eb /graph-checker/src/main.rs | |
| parent | a26981a2669555a61b8d986a888708f72d986100 (diff) | |
optimize a bit
Diffstat (limited to 'graph-checker/src/main.rs')
| -rw-r--r-- | graph-checker/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph-checker/src/main.rs b/graph-checker/src/main.rs index f38724c..25a7768 100644 --- a/graph-checker/src/main.rs +++ b/graph-checker/src/main.rs @@ -31,7 +31,7 @@ async fn main() -> Result<(), sqlx::Error> { println!("Started"); let start = Instant::now(); - const BATCH_SIZE: usize = 1000; + const BATCH_SIZE: usize = 10000; let mut count = 0; loop { let graphs = gi.take(BATCH_SIZE); |