Skip to content

Commit

Permalink
refactor: Improve non-strict-mode to make it even less strict (#387)
Browse files Browse the repository at this point in the history
* refactor: Improve non-strict-mode to make it even less strict

* chore: Cargo format

---------

Co-authored-by: Morgan Mccauley <morgan@mccauley.co.nz>
  • Loading branch information
khorolets and morgsmccauley authored Dec 1, 2023
1 parent a8b8437 commit d8ee669
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 217 deletions.
4 changes: 2 additions & 2 deletions database/src/adapters/execution_outcomes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub async fn store_execution_outcomes_for_chunk(
.values(outcome_models.clone())
.on_conflict_do_nothing()
.execute_async(pool),
10,
5,
"ExecutionOutcomes were stored in database".to_string(),
&outcome_models
);
Expand All @@ -97,7 +97,7 @@ pub async fn store_execution_outcomes_for_chunk(
.values(outcome_receipt_models.clone())
.on_conflict_do_nothing()
.execute_async(pool),
10,
5,
"ExecutionOutcomeReceipts were stored in database".to_string(),
&outcome_receipt_models
);
Expand Down
Loading

0 comments on commit d8ee669

Please sign in to comment.