luban-rack 0.2.15 → 0.2.16

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: ed78df83c6528894a86c81c59311d5faadfd72c9
4
- data.tar.gz: ee70b363d01a2070186e9630bfa74ad3fdc913d9
3
+ metadata.gz: 313729df0ba4064d8f42d76cd9575bc1d6a0eac7
4
+ data.tar.gz: 4346730b53422db3cc5a927b9a272704e348c9f6
5
5
  SHA512:
6
- metadata.gz: 70ae0fbaca4438afefce615635494c44496abf3cd927a5bd8fe900d3c7502d1dbf600f6a8da6bf5253e4f616db017e5a87437c36344d4d8c7f15e827b8b508a5
7
- data.tar.gz: f4bd3cd94bf6ad35c1571308c942555a8c1764f2f41d50b3bf26b926376d2837d8ab6375b215a94cb4efa3ac1c15ba182bbbc29fefe799a80d70e60d1814eee3
6
+ metadata.gz: 12a82940fd47c7bf4d17698967d4812b861158a105d652ab4e61eb0900a84668889912b74fcd24e7ad1cad4413b814803171e9d9dd43e88e40ab3566e8f6b83b
7
+ data.tar.gz: c07e9df4ecf664e1f2faa43e96d334047a594cede7b75d7a5d6b650b3094831b24dc366edbb723741fc8d7150a2d7f30d0b4731fa511c8a8ef5cffc525dd7f4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.16 (Nov 09, 2016)
4
+
5
+ Bug fixes:
6
+ * Used current app path instead of release path to walk around Puma restart_dir issue
7
+ * Changed default threads for Puma to "1:1" to ensure single thread
8
+ * Developers need to ensure their app is thread-safe before turning up this setting
9
+
3
10
  ## Version 0.2.15 (Oct 30, 2016)
4
11
 
5
12
  Bug fixes:
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.15'
5
+ VERSION = '0.2.16'
6
6
  end
7
7
  end
8
8
  end
@@ -11,7 +11,8 @@ module Luban
11
11
  address: "127.0.0.1",
12
12
  port: port + 1,
13
13
  socket: socket_file_path.to_s,
14
- directory: release_path.to_s,
14
+ #directory: release_path.to_s,
15
+ directory: current_app_path.to_s,
15
16
  environment: stage,
16
17
  # Daemon options
17
18
  daemonize: true,
@@ -24,7 +25,7 @@ module Luban
24
25
  tag: "#{env_name}:#{release_tag}",
25
26
  # Cluster options
26
27
  servers: 2,
27
- threads: "5:5",
28
+ threads: "1:1",
28
29
  preload: false,
29
30
  prune_bundler: true,
30
31
  # Control app options
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-30 00:00:00.000000000 Z
11
+ date: 2016-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban