disc 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/disc +4 -4
- data/lib/active_job/queue_adapters/disc_adapter.rb +0 -1
- data/lib/disc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48aa5f31e607e563af50d122896392c1babf2cbd
|
4
|
+
data.tar.gz: e60d82b7722bf4a0bddc4260c63cab5cf14bb049
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5684bf3de07faecbb0421c9dea4157576eb2dec7c56497c17596f546316489bccb9b15041800b7cc8184d86c16bcda07d629361bc5eb0ef3703a724079f60fdc
|
7
|
+
data.tar.gz: 4abb90e6bef5da3161320b625853b6d8cb1091c098c66c6d37ed66fdc4f1fa190949dfd4361e9b75e5cabf70be14991e1bbfe7dce2647d808412ab89ff1eaf5e
|
data/README.md
CHANGED
data/bin/disc
CHANGED
@@ -7,10 +7,9 @@ Clap.run ARGV,
|
|
7
7
|
"-r" => lambda { |file| require file }
|
8
8
|
|
9
9
|
if defined?(Celluloid)
|
10
|
-
concurrency = Integer(ENV.fetch('DISC_CONCURRENCY', '25'))
|
11
10
|
$stdout.puts(
|
12
11
|
"[Notice] Disc running in celluloid mode! Current DISC_CONCURRENCY is\
|
13
|
-
#{
|
12
|
+
#{ Integer(ENV.fetch('DISC_CONCURRENCY', '25')) }."
|
14
13
|
)
|
15
14
|
|
16
15
|
Disc::Worker.send(:include, Celluloid)
|
@@ -19,7 +18,7 @@ if defined?(Celluloid)
|
|
19
18
|
# Deprecated as of Celluloid 0.17, but still supported via "backported mode"
|
20
19
|
class Disc::WorkerGroup < Celluloid::SupervisionGroup
|
21
20
|
pool Disc::Worker,
|
22
|
-
size:
|
21
|
+
size: Integer(ENV.fetch('DISC_CONCURRENCY', '25')),
|
23
22
|
as: :worker_pool,
|
24
23
|
args: [{ run: true }]
|
25
24
|
end
|
@@ -27,7 +26,7 @@ if defined?(Celluloid)
|
|
27
26
|
Disc::WorkerGroup.run
|
28
27
|
else
|
29
28
|
Disc::Worker.pool(
|
30
|
-
size:
|
29
|
+
size: Integer(ENV.fetch('DISC_CONCURRENCY', '25')),
|
31
30
|
args: [{ run: true }]
|
32
31
|
)
|
33
32
|
end
|
@@ -35,3 +34,4 @@ else
|
|
35
34
|
$stdout.puts("[Notice] Disc running in non-threaded mode")
|
36
35
|
Disc::Worker.run
|
37
36
|
end
|
37
|
+
|
data/lib/disc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: disc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pote
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: disque
|