raygun-apm 1.0.30-x86-mingw32 → 1.0.31-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1603fb4d3b75dcbdf466d9444abe57d3765e392f5aa649a263fdd20b29ece6e0
4
- data.tar.gz: 07d4d3ffd36d3d2d7b4ed5b3a046bb522850f20627c49a2530f8815ba6a41ccc
3
+ metadata.gz: 78f4d41abb56cc4390d30b2a2810bb9ec476fcee82e1b489898334064fb06d7c
4
+ data.tar.gz: c85ea00237c4f8d34e76f311eb00579a754a1e850ce4decf9a2a69dee587a903
5
5
  SHA512:
6
- metadata.gz: dfa9a3604e3e8cd9105c05ba979255a828895f36c1e15e78a164826ce49869fc9a6cc6d2ca20c98c1c7befa5ad5f8050ccb2e389f7f79a5371c92b4ac6005f42
7
- data.tar.gz: 568b8c2c9b00c09822c62bdb5ece9db6a6f2ab7b1bac4aa43a1695a046363690a82f0d1059310219c6e0a423fcdcb568efb8e5cf611a47ff91d40126a57636ae
6
+ metadata.gz: 355fc7cca19d99159ccf62979e773b20cbfd63f415fef99d6b6cb9e71c1e6a52bae94ea6d266217d47b4dc16f63d312b4710c180a5ca1e0814c801c3909278dd
7
+ data.tar.gz: b185a45db7a3d9b4ae7e2e4a7317b9f34f3cd4d80299d8ae9ba08d06adda297d7fe7d04792bdba85736ac9dde1c208187d0c9f10868f218d2de77c85c514fc62
Binary file
Binary file
Binary file
@@ -57,10 +57,13 @@ module Raygun
57
57
  def udp_sink!
58
58
  require "socket"
59
59
  sock = UDPSocket.new
60
+ # For UDP sockets, SO_SNDBUF is the max packet size and NOT send buffer as with a connection oriented transport
61
+ sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_SNDBUF, Tracer::BATCH_PACKET_SIZE)
60
62
  self.udp_sink(
61
63
  socket: sock,
62
64
  host: config.udp_host,
63
- port: config.udp_port
65
+ port: config.udp_port,
66
+ receive_buffer_size: sock.getsockopt(Socket::SOL_SOCKET, Socket::SO_RCVBUF).int
64
67
  )
65
68
  # Any fails here is kamikaze for the tracer
66
69
  rescue => e
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.30"
3
+ VERSION = "1.0.31"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.30
4
+ version: 1.0.31
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-04-15 00:00:00.000000000 Z
12
+ date: 2020-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source