Displaying 3 results from an estimated 3 matches for "bank_key".
Did you mean:
bad_key
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
...host_info['hostname']}, probably not registered yet??"
@@ -344,6 +365,7 @@ class DbOmatic < Qpid::Qmf::Console
end
def heartbeat(agent, timestamp)
+ puts "heartbeat from agent #{agent}"
return if agent == nil
synchronize do
bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
@@ -376,6 +398,8 @@ class DbOmatic < Qpid::Qmf::Console
values[:timed_out] = true
end
end
+ bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
+ @heartbeats.delete(b...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...end
end
end
- def heartbeat(agent, timestamp)
- puts "heartbeat from agent #{agent}"
+ def agent_heartbeat(agent, timestamp)
+ puts "heartbeat from agent #{agent.key}"
return if agent == nil
synchronize do
- bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
- @heartbeats[bank_key] = [agent, timestamp]
+ @heartbeats[agent.key] = [agent, timestamp]
end
end
+ def agent_added(agent)
+ @logger.info("Agent connected: #{agent.key}")
+ en...
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...host_info['hostname']}, probably not registered yet??"
@@ -344,6 +365,7 @@ class DbOmatic < Qpid::Qmf::Console
end
def heartbeat(agent, timestamp)
+ puts "heartbeat from agent #{agent}"
return if agent == nil
synchronize do
bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
@@ -376,6 +398,8 @@ class DbOmatic < Qpid::Qmf::Console
values[:timed_out] = true
end
end
+ bank_key = "#{agent.agent_bank}.#{agent.broker.broker_bank}"
+ @heartbeats.delete(b...