Skip to content

Commit

Permalink
Make default timeout 10 seconds... not 3000
Browse files Browse the repository at this point in the history
🤦
  • Loading branch information
UberMouse committed Feb 19, 2018
1 parent cfb42bc commit 5e3a1af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/raygun/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def initialize
breadcrumb_level: :info,
record_raw_data: false,
send_in_background: false,
error_report_send_timeout: 3000
error_report_send_timeout: 10
)
end

Expand Down
2 changes: 1 addition & 1 deletion test/unit/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_send_in_background_default
end

def test_error_report_send_timeout_default
assert_equal 3000, Raygun.configuration.error_report_send_timeout
assert_equal 10, Raygun.configuration.error_report_send_timeout
end

def test_enable_reporting_default
Expand Down

0 comments on commit 5e3a1af

Please sign in to comment.