bipbip 0.7.9 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bipbip/plugin/gearman.rb +6 -6
- data/lib/bipbip/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: 7b1923170245c3dd032b066641934660639c9c68
|
4
|
+
data.tar.gz: ab0244849d492ff035867e668c7515c3a979287e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9db1d07c014abc4d2cc2096381c5624eaad5699295687747e2fac8c2b8f12cd09cb474f44cd1bb3fe9e51537a5a67ff9f868b63e8e8a92ad7c4384770cd0829
|
7
|
+
data.tar.gz: d6e2f76c5785dfdf2bf0b587ba8fe311f2b11446f537fcebbe18a448e778e63a313a97d36f8537b0e9c3a6a6419e33a3aea3925950a696c5f297c67b5d3c72ea
|
@@ -5,9 +5,9 @@ end
|
|
5
5
|
|
6
6
|
module Bipbip
|
7
7
|
class Plugin::Gearman < Plugin
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
JOB_PRIORITY_HIGH = 0
|
9
|
+
JOB_PRIORITY_NORMAL = 1
|
10
|
+
JOB_PRIORITY_LOW = 2
|
11
11
|
|
12
12
|
def metrics_schema
|
13
13
|
[
|
@@ -35,9 +35,9 @@ module Bipbip
|
|
35
35
|
if config['persistence'] == 'mysql'
|
36
36
|
stats = _fetch_mysql_priority_stats(config)
|
37
37
|
priority_stats = {
|
38
|
-
|
39
|
-
jobs_queued_total_normal: stats[
|
40
|
-
|
38
|
+
jobs_queued_total_high: stats[JOB_PRIORITY_HIGH],
|
39
|
+
jobs_queued_total_normal: stats[JOB_PRIORITY_NORMAL],
|
40
|
+
jobs_queued_total_low: stats[JOB_PRIORITY_LOW]
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
data/lib/bipbip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bipbip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cargo Media
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-11-
|
13
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: copperegg-revealmetrics
|