mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
fix: async for init_reader
This commit is contained in:
parent
5fa50cf69f
commit
47cde83c7a
4 changed files with 13 additions and 7 deletions
|
@ -26,7 +26,9 @@ fn bench(c: &mut Criterion) {
|
|||
rt.block_on(async {
|
||||
let db = inti_db().await.unwrap();
|
||||
let reader = File_Format::new("json")
|
||||
.await
|
||||
.reader("tests/data/bench.json")
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
CreateVersion::Bulk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue