racecar 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/racecar/config.rb +2 -2
- data/lib/racecar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 251134e0054c81aba394c44e94cf126005fa8129
|
4
|
+
data.tar.gz: 82224a191890588b7b8841e98cb7a6f8f7d6195c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce61cd9bc947e1a18a95c305b64396c0da9f59cdfa742b9ab2ee122f0faa5eaaec423c42490015351f115bae662c3f0c6668cf343d6ceefbc8bbf7742536859
|
7
|
+
data.tar.gz: 69929c9148dda6f2db851bebdd4fa16de065205aa2d36610f9747f0a5e34df94e9fc7fca48938384f82099644256c751349172afa9e355f386b51f96eaa8d905
|
data/lib/racecar/config.rb
CHANGED
@@ -88,7 +88,7 @@ module Racecar
|
|
88
88
|
end
|
89
89
|
|
90
90
|
def load_consumer_class(consumer_class)
|
91
|
-
@group_id
|
91
|
+
@group_id = consumer_class.group_id || @group_id
|
92
92
|
|
93
93
|
@group_id ||= [
|
94
94
|
# Configurable and optional prefix:
|
@@ -99,7 +99,7 @@ module Racecar
|
|
99
99
|
].compact.join("")
|
100
100
|
|
101
101
|
@subscriptions = consumer_class.subscriptions
|
102
|
-
@max_wait_time = consumer_class.max_wait_time
|
102
|
+
@max_wait_time = consumer_class.max_wait_time || @max_wait_time
|
103
103
|
end
|
104
104
|
|
105
105
|
def on_error(&handler)
|
data/lib/racecar/version.rb
CHANGED