raygun-apm 1.0.30-x86-linux → 1.0.31-x86-linux

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: d33a29ba8f095147f53e1baa5613db87efef6348e3220efcecaef0ebfa6fb11a
4
- data.tar.gz: e04729d01ee8d83d537adabfa16e85f3604dba1dfb6c65f09c0d3149a9e8e06b
3
+ metadata.gz: f2dbd7cf60b94b82950d33f20d35c858f04fc9dc564e1117986d18558305afb2
4
+ data.tar.gz: ebf946fb723f97dd64afb8f044850ecff35aa549a920afbbd00eeae1d2fe3289
5
5
  SHA512:
6
- metadata.gz: 91b6b52751f02c8cad1792d87992c87598dec6eaaf9a092ce9786004463f39dc25ffd3fd7068534e275e99aa0305812f16c4db3aeb5c7919509410c94c2dc87e
7
- data.tar.gz: e772c594244d82b02bf764a79f7a38001339abd2ac9f14987e57f3a41dfc407a589ac603b210a560eeee8b932c0090defc53042baa2d6a189bf6a83c05a6caf4
6
+ metadata.gz: 1f475ab37c90738d3b125d397b037740af819211a9c08cbc56e6eda4ff749a9f1929cbc28e7b118a3a2f2114956422ced521d3b6c5c607374ab2fafc4b956f0a
7
+ data.tar.gz: 3070b228ff69938c4cc410d0bb94a7d8c8012951617db05e09a76cf4950bcb694f0dc60f2127486c2a76743c62cb09ee1a9e7f091aeae6bb64fc3b0d41e82de0
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-linux
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