sbsm 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc83ce9eaa4b2e9edae741b89a255562e1dfd7c7
4
- data.tar.gz: 0a3ac026d12912a8ffa5858ed73abf735d51d5d6
3
+ metadata.gz: 8b27b0cd01f696045f8dcd2a676f8803b9f25ae7
4
+ data.tar.gz: aa44fd845938ef1024d628ee414e39825d55fcb2
5
5
  SHA512:
6
- metadata.gz: ab32237e7ab03816f1c24ab0d3cad5b7076f318531b04894c983adf7595427cd4e2853f4c6ec86027d44c6a3d5fec764562c3a5f7b8a0b2bfd693f7a09e16cce
7
- data.tar.gz: 300f865f03dc9f0ef0d7ea26b52039b63c2ac44ca411dfbe255b3bf5a66ef357531fe1c846b8302f6f0a0b0d4033602dcd22080e5bb36aa2663bb4603417bb29
6
+ metadata.gz: 5a5ff8f1920bf41c325356a5e7277d0aa67f0b686296d170b2b1a0040a62462992e5668f2b815a9e2cb2b18b8840f73ea496737df63b063ce432ae77d1e49aec
7
+ data.tar.gz: 5c208b5d7943f1e342d2eee87b40a03642f5811e8a5b85721081beb8c28a2425fbbb9049259a02b87b4506a082aaa2d29cbcc3bb359c75c1120a5850fa310763
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.3.4 /12.12.2016
2
+ * As we quite often got errors about recycled objects, I added a GC.start in the call method of sbsm/app
3
+ It introduces a delay of 12 to 30 ms. Therefore we should look for a better solution later
4
+
1
5
  === 1.3.3 / 7.12.2016
2
6
  * Hashes are handled differently in mod_ruby and rack add a test for it, but I am unsure
3
7
  whether I handle everything is okay, as I had to add article to the STRINGS in davaz.compatible
data/lib/sbsm/app.rb CHANGED
@@ -99,6 +99,9 @@ module SBSM
99
99
  @cgi = CGI.initialize_without_offline_prompt('html4') unless @cgi
100
100
  @session = CGI::Session.new(@cgi, args) unless @session
101
101
  saved = self[session_id]
102
+ @start_time = Time.now.to_f
103
+ GC.start
104
+ SBSM.debug "GC.start took #{((Time.now.to_f)- @start_time)*1000.0} milliseconds"
102
105
  @proxy = DRbObject.new(saved, server_uri) unless @proxy.is_a?(DRbObject)
103
106
  @proxy.trans_handler = @trans_handler
104
107
  @proxy.app = @app unless @proxy.app
data/lib/sbsm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SBSM
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack