Skip to content

Commit

Permalink
Merge pull request #1385 from SpiNNakerManchester/with_database
Browse files Browse the repository at this point in the history
Use less transactions
  • Loading branch information
Christian-B authored Sep 25, 2023
2 parents f11f300 + 1ae4337 commit 0f8e5b7
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ def redundant_packet_count_report():

def _create_views():
with ProvenanceWriter() as db:
with db.transaction() as cur:
cur.execute(REDUNDANCY_BY_CORE)
cur.execute(REDUNDANCY_SUMMARY)
db.execute(REDUNDANCY_BY_CORE)
db.execute(REDUNDANCY_SUMMARY)


def _write_report(output):
Expand Down
Loading

0 comments on commit 0f8e5b7

Please sign in to comment.