Sha256: 1544040cf340332c3c656ae9d7e54c4325fa4097417a19944d53e712afa67878
Contents?: true
Size: 352 Bytes
Versions: 3
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true require_relative "../lib/moleculer" ## # Users is a class for benmarking speed vs Moleculer Node apps class Users < Moleculer::Service::Base service_name "users" action "empty", :empty def empty(_context) {} end end Moleculer.configure do |c| c.services << Users c.log_level = :info end Moleculer.run
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moleculer-0.3.0 | examples/benchmark_server.rb |
moleculer-0.2.0 | examples/benchmark_server.rb |
moleculer-0.1.1 | examples/benchmark_server.rb |