mirror of
https://github.com/jimeh/amqp-failover.git
synced 2026-02-19 10:56:44 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c7251e11e2 | |||
| 18c89b1e0f | |||
| bc69e8970e |
@@ -7,7 +7,7 @@ module AMQP
|
|||||||
attr_accessor :last_fail
|
attr_accessor :last_fail
|
||||||
|
|
||||||
def initialize(hash = {}, last_fail_date = nil)
|
def initialize(hash = {}, last_fail_date = nil)
|
||||||
self.replace(symbolize_keys(defaults.merge(hash)))
|
self.replace(defaults.merge(symbolize_keys(hash)))
|
||||||
self.last_fail = last_fail_date if last_fail_date
|
self.last_fail = last_fail_date if last_fail_date
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
module AMQP
|
module AMQP
|
||||||
class Failover
|
class Failover
|
||||||
VERSION = "0.0.2"
|
VERSION = "0.0.3"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user