Sha256: 041af1b4d33aaea79c77e9ec6dc2b052efebf128ad347c00d9200bead3d8f34c
Contents?: true
Size: 455 Bytes
Versions: 8
Compression:
Stored size: 455 Bytes
Contents
lib = File.join File.dirname(__FILE__), '..', 'lib' $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'fluffle' client = Fluffle::Client.new url: 'amqp://localhost', confirms: true # You can also pass `connection:` to use an existing Bunny connection: # Fluffle::Client.new(connection: Bunny.new('amqp://localhost', heartbeat: 2)) timings = 10.times.map do t0 = Time.now client.call('foo').inspect Time.now - t0 end puts timings
Version data entries
8 entries across 8 versions & 1 rubygems