Skip to content

Commit

Permalink
stack size and v2
Browse files Browse the repository at this point in the history
  • Loading branch information
racnan committed Dec 21, 2024
1 parent 13fbda2 commit 7102076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fn main() {
// Set thread stack size to 8 MiB for debug builds
// Reference: https://doc.rust-lang.org/std/thread/#stack-size
#[cfg(debug_assertions)]
println!("cargo:rustc-env=RUST_MIN_STACK=12582912"); // 12 * 1024 * 1024 = 12 MiB
println!("cargo:rustc-env=RUST_MIN_STACK=14680064"); // 14 * 1024 * 1024 = 12 MiB

#[cfg(feature = "vergen")]
router_env::vergen::generate_cargo_instructions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl<F: Send + Clone> GetTracker<F, PaymentCaptureData<F>, PaymentsCaptureReques
_profile: &domain::Profile,
key_store: &domain::MerchantKeyStore,
_header_payload: &hyperswitch_domain_models::payments::HeaderPayload,
_platform_merchant_account: Option<&domain::MerchantAccount>,
) -> RouterResult<operations::GetTrackerResponse<PaymentCaptureData<F>>> {
let db = &*state.store;
let key_manager_state = &state.into();
Expand Down

0 comments on commit 7102076

Please sign in to comment.