appfuel-service 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4fb6da63bfcf8f11729fc8d3d1162f2e20b02ca
|
4
|
+
data.tar.gz: 552e1e5d59591828710d22828a7f5b280c0587a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62eacc1270c059feb97429e1729c5c928d8a1d6b26ccd9c540a3ae5b25f8806625c1994b026702ad05cfff513d5755305603505c2edfa8a898b765227ef290d9
|
7
|
+
data.tar.gz: 9d693988fc1459af6770bf5a32b24abe6121d61cb58d062f56f0bf5ad549f58865737239cd8e3fa95acf71068df44beadc1d845453fea0d6e492168386220780
|
data/CHANGELOG.md
CHANGED
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file. (Pending ap
|
|
5
5
|
|
6
6
|
|
7
7
|
# Releases
|
8
|
-
## [[0.3.
|
8
|
+
## [[0.3.4]](https://github.com/rsb/appfuel/releases/tag/0.3.4) 2017-09-19
|
9
|
+
### Fixed
|
10
|
+
- standard config settings to logfile instead of log
|
11
|
+
|
12
|
+
## [[0.3.3]](https://github.com/rsb/appfuel/releases/tag/0.3.3) 2017-09-19
|
13
|
+
### Fixed
|
9
14
|
- worker was not using response errors correctly
|
10
15
|
|
11
16
|
## [[0.3.2]](https://github.com/rsb/appfuel/releases/tag/0.3.2) 2017-09-19
|
@@ -29,7 +29,7 @@ module Appfuel
|
|
29
29
|
defaults heartbeat: 60,
|
30
30
|
ack: true,
|
31
31
|
pid_path: 'tmp/pids/sneakers.pid',
|
32
|
-
|
32
|
+
logfile: 'tmp/log/sneakers.log',
|
33
33
|
daemonize: true,
|
34
34
|
workers: 1,
|
35
35
|
threads: 1,
|
@@ -49,7 +49,7 @@ module Appfuel
|
|
49
49
|
required(:ack).filled(:bool?)
|
50
50
|
required(:daemonize).filled(:bool?)
|
51
51
|
required(:heartbeat).filled(:int?)
|
52
|
-
required(:
|
52
|
+
required(:logfile).filled(:str?)
|
53
53
|
required(:pid_path).filled(:str?)
|
54
54
|
required(:threads).filled(:int?)
|
55
55
|
required(:workers).filled(:int?)
|
@@ -4,7 +4,7 @@ Appfuel::Initialize.define('global.message_broker') do |config, container|
|
|
4
4
|
end
|
5
5
|
|
6
6
|
unless container['message_brokers.consumer_keys'].is_a?(Array)
|
7
|
-
fail "[initializer message_broker]
|
7
|
+
fail "[initializer message_broker] message_broker.consumer_keys " +
|
8
8
|
"must be an Array"
|
9
9
|
end
|
10
10
|
|
@@ -12,7 +12,10 @@ Appfuel::Initialize.define('global.message_broker') do |config, container|
|
|
12
12
|
require 'sneakers/runner'
|
13
13
|
require 'sneakers/handlers/maxretry'
|
14
14
|
|
15
|
-
|
15
|
+
settings = config[:sneakers]
|
16
|
+
settings[:log] = settings.delete(:logfile)
|
17
|
+
|
18
|
+
Sneakers.configure(settings)
|
16
19
|
|
17
20
|
|
18
21
|
container.register("message_brokers.runner_class", Sneakers::Runner)
|