lib/bluth.rb in bluth-0.6.0 vs lib/bluth.rb in bluth-0.6.1
- old
+ new
@@ -32,18 +32,19 @@
# A non-fatal error. Gob succeeds.
class Maeby < Familia::Problem; end
# A shutdown request. We burn down the banana stand.
class Shutdown < Familia::Problem; end
@db = 0
+ @env = :dev
@poptimeout = 60 #.seconds
@handlers = []
@locks = []
@sysinfo = nil
@priority = []
@scheduler = nil
class << self
attr_reader :handlers, :db, :conf, :locks
- attr_accessor :redis, :uri, :priority, :scheduler, :poptimeout
+ attr_accessor :redis, :uri, :priority, :scheduler, :poptimeout, :env
def sysinfo
@sysinfo ||= SysInfo.new.freeze
@sysinfo
end
end