capistrano-cable 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 7e1a47bf59656cff6458c37414595512d8fee87ad11ce021fa959f55d8ff8d96
4
- data.tar.gz: 8760656360a1e0e92413131b47e125f0ae0d00c7421896955644ca210767f502
3
+ metadata.gz: 0476b2a70385f27e450fb4c33ea4e92cc603e6ef58cdf9de2647ab60cd18ab76
4
+ data.tar.gz: 06d1c78dceded6a16d139538907fb2088c2dceaae567d821e1518c6308560385
5
5
  SHA512:
6
- metadata.gz: 2603c3875d4e470ef7c27d3360f7904584add2ca644f209d74d04eab98411c3f802ba91f8df1949965ebf809cea3c21a921562a4fc271304ad79aeee19abde7a
7
- data.tar.gz: f4f5d9d77e6800ee48a958519d7554e906fefbbcb5b9291dfb293ff8adfddb0cc07f71d744bae5173fbe4591b6e42fa776496cee9f3a00c59dab6408ed169a22
6
+ metadata.gz: 804b2336e2e3f851ccd662ed638d28e414c03ab81b1539a63ecd5d33218c107d96945097d62234314841317a8380e4745aa3f608bbee938c3206f4a1c63ca62e
7
+ data.tar.gz: 7d3ef7e8254fba0cc077a700c3244fd61fef11f785a8a3566f54c7342ca12c327866dd1886e4334105a1399bd87af3abc90a4466fc17504731e69a7e51861018
data/README.md CHANGED
@@ -45,6 +45,7 @@ Many options are available to customize the cable server configuration. Here are
45
45
  # config/deploy.rb or config/deploy/<stage>.rb
46
46
  set :cable_role, :web
47
47
  set :cable_port, 29292
48
+ # set :cable_limit_nofile, 65536 # optional, to customize if `Errno::EMFILE: Too many open files` happens
48
49
  # set :cable_ssl_certificate
49
50
  # set :cable_ssl_certificate_key
50
51
  set :cable_rackup_file, 'cable/config.ru'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module Cable
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
@@ -17,6 +17,7 @@ After=syslog.target network.target
17
17
  [Service]
18
18
  Type=<%= service_unit_type %>
19
19
  WatchdogSec=30
20
+ <%="LimitNOFILE=#{fetch(:cable_limit_nofile)}" if fetch(:cable_limit_nofile) %>
20
21
  <%="User=#{cable_user(@role)}" if fetch(:cable_systemctl_user) == :system %>
21
22
  <%="PIDFile=#{fetch(:cable_pidfile)}" if fetch(:cable_pidfile) %>
22
23
  WorkingDirectory=<%= current_path %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-cable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice TEXIER
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-12 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano