Sha256: fe9a1c986b9b631b6f12ba5a924701185f9a23397d8a0857a2e518962fb82904
Contents?: true
Size: 350 Bytes
Versions: 5
Compression:
Stored size: 350 Bytes
Contents
# encoding: utf-8 require 'one_apm/transaction/sample_buffer/transaction_sample_buffer' module OneApm class Transaction class ForcePersistSampleBuffer < TransactionSampleBuffer OA_CAPACITY = 10 def capacity OA_CAPACITY end def allow_sample?(sample) sample.force_persist end end end end
Version data entries
5 entries across 5 versions & 1 rubygems