we need to generalize [this logic to have different limits](https://github.com/getsentry/sentry-ruby/blob/04e030f974558aa750e26afc458c48e663ddcfcc/sentry-ruby/lib/sentry/envelope.rb#L42-L56) according to different envelope `item.type` but let's make a separate issue/PR for that. _Originally posted by @sl0thentr0py in https://github.com/getsentry/sentry-ruby/issues/2372#issuecomment-2368615966_
we need to generalize this logic to have different limits according to different envelope
item.typebut let's make a separate issue/PR for that.Originally posted by @sl0thentr0py in #2372 (comment)