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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d135f5044ba55cbbfc4fc02b01b1a4f8185059a
4
- data.tar.gz: 45041cdcd5993efb4d755f34713686c9261172fa
3
+ metadata.gz: 7b1923170245c3dd032b066641934660639c9c68
4
+ data.tar.gz: ab0244849d492ff035867e668c7515c3a979287e
5
5
  SHA512:
6
- metadata.gz: e3ef917453fbafbd8986f0a1e9f31b53f4d0202f57b95e88312e3e59bf702e0ee2d972d7367a6c192308cf8e3b5490851267900378ec9ee861ce5afff65938b5
7
- data.tar.gz: aea4339262650758e43d6aebc67ffbc004b1a3680f495344c2d241db8c5bd5e10513c6f20f6e692a649f4cec894ee7a11c2a7ce06969c830b38d1e9d40167c4f
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
- PRIORITY_LOW = 0
9
- PRIORITY_NORMAL = 1
10
- PRIORITY_HIGH = 2
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
- jobs_queued_total_low: stats[PRIORITY_LOW],
39
- jobs_queued_total_normal: stats[PRIORITY_NORMAL],
40
- jobs_queued_total_high: stats[PRIORITY_HIGH]
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
 
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.7.9'.freeze
2
+ VERSION = '0.7.10'.freeze
3
3
  end
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.9
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-10 00:00:00.000000000 Z
13
+ date: 2016-11-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: copperegg-revealmetrics