modern_times 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/modern_times/jms/request_worker.rb +1 -0
- data/lib/modern_times/jms/worker.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -53,6 +53,7 @@ module ModernTimes
|
|
53
53
|
producer.time_to_live = @time_to_live
|
54
54
|
reply_message = ModernTimes::JMS.create_message(session, ModernTimes::MarshalStrategy::String, "Exception: #{e.message}")
|
55
55
|
reply_message.jms_correlation_id = message.jms_message_id
|
56
|
+
reply_message.jms_delivery_mode = ::JMS::DeliveryMode::NON_PERSISTENT
|
56
57
|
reply_message['worker'] = self.name
|
57
58
|
reply_message['exception'] = ModernTimes::RemoteException.new(e).to_hash.to_yaml
|
58
59
|
producer.send(reply_message)
|
@@ -116,7 +116,7 @@ module ModernTimes
|
|
116
116
|
on_message(msg)
|
117
117
|
msg.acknowledge
|
118
118
|
end
|
119
|
-
ModernTimes.logger.info {"#{self}::on_message (#{('%.1f' % @time_track.last_time)}ms)"} if ModernTimes::JMS::Connection.log_times?
|
119
|
+
ModernTimes.logger.info {"#{self}::on_message (#{('%.1f' % (@time_track.last_time*1000.0))}ms)"} if ModernTimes::JMS::Connection.log_times?
|
120
120
|
end
|
121
121
|
@status = 'Exited'
|
122
122
|
ModernTimes.logger.info "#{self}: Exiting"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: modern_times
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brad Pardee
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-05-
|
14
|
+
date: 2011-05-18 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|