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:
parent
6986aa5824
commit
3f0b1d8e0b
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ fn main() {
|
|||
|
||||
count += 1;
|
||||
}
|
||||
|
||||
tx.commit().ensure("final commit failed");
|
||||
}
|
||||
|
||||
/// It's like `expect`, but through `log::error`.
|
||||
|
|
Loading…
Reference in a new issue