Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

defer rabbit server startup to avoid NATS authentication race condition

Change-Id: If13cfcbd08df18162c26cba746d2e077d913c7dd
  • Loading branch information...
commit 73d1679482f740d89868eb281e626ff8d284084e 1 parent 04b8229
@kushmerick kushmerick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rabbit/lib/rabbit_service/rabbit_node.rb
View
2  rabbit/lib/rabbit_service/rabbit_node.rb
@@ -54,7 +54,7 @@ def initialize(options)
def start
@logger.info("Starting rabbit node...")
start_db
- start_server
+ EM.defer { start_server }
ProvisionedInstance.all.each do |instance|
@available_memory -= (instance.memory || @max_memory)
end
Please sign in to comment.
Something went wrong with that request. Please try again.