tanker-core 4.2.1.alpha.3 → 4.2.1.alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tanker/c_tanker/fork_hook.rb +2 -2
- data/lib/tanker/core/init.rb +2 -0
- data/lib/tanker/core/version.rb +1 -1
- data/vendor/tanker/darwin-aarch64/libctanker.dylib +0 -0
- data/vendor/tanker/darwin-x86_64/libctanker.dylib +0 -0
- data/vendor/tanker/linux-x86_64/libctanker.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22cb691c39435cefe6e1965e1e54ba32add67aab655e9e4a69f153e0fcfb7cfe
|
4
|
+
data.tar.gz: 61217a6aa6fa45b98fe17712d250d8b7a74dcb90938d79789f8bcf8b28ab9b62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ed3644dd7fc8acdf4320701599526c363be482228385a37ec61b2cc0b4da35fc1a2675b3ae04f70497533431d69ceb51a80500cd15bf514b19295d348309eed
|
7
|
+
data.tar.gz: acf4299f67570cfb0428874bd5127af7ea8dd6bd165ab24067c0f00333785e3895e6e2feb556ec52de02e27795503d75c0f1a41ddf003fc0897de5a8a33eedb7
|
@@ -5,14 +5,14 @@ require 'tanker/core/http'
|
|
5
5
|
module Tanker
|
6
6
|
module ForkHook
|
7
7
|
def _fork(*args)
|
8
|
-
puts "### TANKER-CORE BEFORE FORK HOOK"
|
8
|
+
puts "### PID=#{Process.pid} TANKER-CORE BEFORE FORK HOOK"
|
9
9
|
CTanker.tanker_before_fork
|
10
10
|
Http::ThreadPool.before_fork
|
11
11
|
|
12
12
|
res = super
|
13
13
|
|
14
14
|
CTanker.tanker_after_fork
|
15
|
-
puts "### TANKER-CORE AFTER FORK HOOK"
|
15
|
+
puts "### PID=#{Process.pid} TANKER-CORE AFTER FORK HOOK"
|
16
16
|
res
|
17
17
|
end
|
18
18
|
prepend_features(Process.singleton_class)
|
data/lib/tanker/core/init.rb
CHANGED
@@ -23,6 +23,8 @@ module Tanker
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def initialize(options)
|
26
|
+
puts "### PID=#{Process.pid} TANKER-CORE initialize, about to call CTanker.tanker_init"
|
27
|
+
|
26
28
|
# tanker_init is not called globally to avoid potential logs at global scope
|
27
29
|
# some frameworks like to pre-execute statements at global scope and then fork, this fork can
|
28
30
|
# interact badly with the threads used in the log handler, so never call Tanker at global scope
|
data/lib/tanker/core/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanker-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.1.alpha.
|
4
|
+
version: 4.2.1.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanker team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|