blue_green_process 0.1.0 → 0.1.1

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: a12551178595d00eeb37b62eb34f7b06f577d2c8a345f4c91a18ec7fecb36f8b
4
- data.tar.gz: 5f1b1fb9d5f967fbdd55f1a11840c090a92fb9429ce44b16b27da50e815c160a
3
+ metadata.gz: 52701d853a73bdee8a68d84b64f395590122f426d429c16d02429ea39ee04872
4
+ data.tar.gz: b2b537c0446067c400e58a578baa3c6c2fab48db0222864c65abb8066bebd040
5
5
  SHA512:
6
- metadata.gz: 438555f06ca40cea7826b851d2750d8ed7e9a068afc6446d12c8666ebfd3c13d4cc40d70d2b497a7248485e3b7653943211fc41fb9713f61a84007089a841dd2
7
- data.tar.gz: 16f58cfe3be851db0f9ea3086a3801fcd1229eebe2ed00b7338db8f200f0cb95eb6ef3843c9692a113e94e5a1706f084a8f39672cdc89561fb6eaeed2705d962
6
+ metadata.gz: ae61b9553e9a7e4af24b2d0371ba8ed60273e177b62f6ecc92115e643852bf02d67c4f5b5c32ad4f849cb37fc8b0116004299988654bb80f7335075d216e7889
7
+ data.tar.gz: 9965a927dca526abc3143d7f471eb87ba5ffc987abe3c4d66a740c4621c5a62d431db249ce05eacf5129c0032e4cb81618ae179961a2db96844c6054605b6895
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blue_green_process (0.1.0)
4
+ blue_green_process (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -60,6 +60,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
60
60
  * workerの処理内容は固定
61
61
 
62
62
  ## TODO
63
+ * runしている間にsignalをもらったらすぐにdieを送りたい
63
64
  * プロセスを入れ替えるときに変数を受け渡しをする
64
65
  * queueしてからのdequeueするまでの時間を測定したい
65
66
  * webサーバでよくあるqueued timeみたいな扱い
@@ -47,8 +47,8 @@ module BlueGreenProcess
47
47
  if process_status == BlueGreenProcess::PROCESS_STATUS_INACTIVE
48
48
  warn "Should not be able to run in this status"
49
49
  end
50
-
51
- BlueGreenProcess.debug_log "#{label}'ll work(#{$PROCESS_ID})"
50
+ # too verbose
51
+ # BlueGreenProcess.debug_log "#{label}'ll work(#{$PROCESS_ID})"
52
52
  worker_instance.work(*label)
53
53
  child_write.puts BlueGreenProcess::PROCESS_RESPONSE
54
54
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BlueGreenProcess
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue_green_process
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jiikko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A library that solves GC bottlenecks with multi-process.
14
14
  email: