class RorVsWild::Queue

def flush_indefinetely

def flush_indefinetely
  client.post("/deployments", deployment: Deployment.to_h)
  sleep(SLEEP_TIME) and flush while true
rescue Exception => ex
  RorVsWild.logger.error(ex)
  raise
end