fix(corp/data-import): commit the final transaction, too

Otherwise up to 1000 elements might be missing.

Change-Id: I20d6238424eec27f0e758e7737c9c31bcb81b23d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7862
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2023-01-18 15:48:08 +03:00 committed by tazjin
parent 6986aa5824
commit 3f0b1d8e0b

View file

@ -107,6 +107,8 @@ fn main() {
count += 1;
}
tx.commit().ensure("final commit failed");
}
/// It's like `expect`, but through `log::error`.