raygun-apm 1.0.30-universal-darwin → 1.0.31-universal-darwin

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: 3f329f6cb95f0b268013dc9f8b88189751e18670a8de0823af76a720d580645d
4
- data.tar.gz: 2825261cff79ae6699802bafee65cd06a8e9d963ab5c601cbc6aeb7b5a85cd5d
3
+ metadata.gz: bd26f998004fb00cfb05bd505ec01e3253c705368d95671a450899c67eb75307
4
+ data.tar.gz: 9a49b6b25e94e75cb8fc527d555f5847ba8784b2472318e62c139f9c7bb3c28a
5
5
  SHA512:
6
- metadata.gz: 694b09e5b53d060d68b2485ebf15683a2a11e028f7e2cd82a18cc593f5c1638d11b7139641826ffddab5db54019f68c9f0e76cc6248dda26d0b2890f73c2366f
7
- data.tar.gz: 132f0f242584f8ddebc91ad1ca9c3bca145f4b705633e7fb1e1f1a79303c8731ce17e3105b75631ed662667a83b0433bba4cd4905c372a2f7b08c91281454481
6
+ metadata.gz: 7c1e8e95867c2f2464473bc3d2d734e41e91c09e01fb799d603ca5927d61d52c46bd81b4897f878097a40bec83dcf78ec879fe8b445d353c2ecc48ea4485e530
7
+ data.tar.gz: '089bccf3b84d135d41856ede0b076668ac92bb0354a467f0c62c8ef01685cb5d8c5997f00d48c92bbcf32105564e4d39b08615b8427b001e7d2686a738eceeb6'
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: universal-darwin
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-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source