We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e133934 commit 2098311Copy full SHA for 2098311
sentry/src/lib.rs
@@ -536,10 +536,8 @@ pub mod test_util {
536
537
let campaign_remaining = CampaignRemaining::new(redis.connection.clone());
538
539
- // TODO: Should we get from wiremock?
540
let platform_url = "http://change-me.tm".parse().expect("Bad ApiUrl!");
541
- // Configure keep_alive_interval!
542
- let platform_api = PlatformApi::new(platform_url, std::time::Duration::from_secs(3))
+ let platform_api = PlatformApi::new(platform_url, config.platform.keep_alive_interval)
543
.expect("should build test PlatformApi");
544
545
let app = Application::new(
0 commit comments