Skip to content

Commit

Permalink
Merge pull request #1494 from akoshelev/panic-abort
Browse files Browse the repository at this point in the history
Abort on panics
  • Loading branch information
akoshelev authored Dec 12, 2024
2 parents 3438da1 + db2b416 commit 0703ad5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ipa-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ tempfile = "3"
ipa-metrics-tracing = { path = "../ipa-metrics-tracing" }
ipa-metrics = { path = "../ipa-metrics", features = ["partitions"] }

[profile.release]
# The reason for this is that we are moving towards the direction when helper processes are created per query
# in this case there is no reason to try and preserve the helper instance to serve other queries. Aborting
# makes dealing with the corrupted state easier
panic = 'abort'

[lib]
path = "src/lib.rs"
Expand Down

0 comments on commit 0703ad5

Please sign in to comment.