appfuel-service 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/appfuel/service/version.rb +1 -1
- data/lib/appfuel/service/worker.rb +3 -0
- 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: a7b70699b1814997385b6169db4c1bba1107f0e7
|
4
|
+
data.tar.gz: f23d9a6d383991d3b23878e08ac82e5c005a86b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d59e7e4dcf994f26793bd64634162dfc2d96b54c111301b8f4711dc7caa501ccf71f4e094a7cf29842005a0e8cd5a38187e85481f7ec85c1eb968a66c4e72637
|
7
|
+
data.tar.gz: 5f9333bdb560b5018d0bd666cb7e7d4920ccdf4149beb4d3dade2470f977c0ac6bddbecdae660022512fc7b6d3df006425b86dbbd96a3ccbfc5f3670435281ab
|
@@ -35,6 +35,8 @@ module Appfuel
|
|
35
35
|
# @return [Appfuel::Response]
|
36
36
|
def work_with_params(msg, delivery_info, properties)
|
37
37
|
container = app_container
|
38
|
+
logger = container[:logger]
|
39
|
+
logger.info "[queue worker] accepting msg"
|
38
40
|
request = create_request(msg, delivery_info, properties)
|
39
41
|
response = dispatch(request, container)
|
40
42
|
if response.failure?
|
@@ -43,6 +45,7 @@ module Appfuel
|
|
43
45
|
end
|
44
46
|
|
45
47
|
if request.rpc?
|
48
|
+
logger.info "[queue worker] returning rpc msg"
|
46
49
|
publish_rpc(request, response)
|
47
50
|
end
|
48
51
|
|