class RestFtpDaemon::Worker

Protected Instance Methods

disabled?(value) click to toggle source
# File lib/rest-ftp-daemon/workers/worker.rb, line 21
def disabled? value
  value.nil? || value === false || value == 0
end
log_context() click to toggle source
# File lib/rest-ftp-daemon/workers/worker.rb, line 14
def log_context
  {
  wid: Thread.current.thread_variable_get(:wid),
  jid: Thread.current.thread_variable_get(:jid),
  }
end