istox 0.1.141.pre.3 → 0.1.141.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/istox/helpers/grpc_client.rb +7 -7
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e9781b5c3f8d49cb99ab1984302a0c6911946cfd300a72d960f839bd5861b7a
|
4
|
+
data.tar.gz: 6c9832ff27727b32ad1ba63864f298441ccae08757d8ebdff5cadfb278356e48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9867444a82648642498ef62b39e276cb6094d4f857f8994af15c1aa589171ab895d5594686680f8c5a008407ff9165840ff77d423288d99e8ab263c24b28b288
|
7
|
+
data.tar.gz: 80dd07ac64f5ab7df15726515cba1fff830e77af72a4a674b4415d386440c1b24b6b660dd05a2cc130636bd0636b0f4824af4bbd48fd5782c5532956842151ba
|
@@ -19,13 +19,13 @@ module Istox
|
|
19
19
|
|
20
20
|
def default_channel_options
|
21
21
|
{
|
22
|
-
'grpc.keepalive_time_ms'
|
23
|
-
'grpc.keepalive_timeout_ms'
|
24
|
-
'grpc.keepalive_permit_without_calls'
|
25
|
-
'grpc.http2.max_pings_without_data'
|
26
|
-
'grpc.http2.min_time_between_pings_ms'
|
27
|
-
'grpc.http2.min_ping_interval_without_data_ms'
|
28
|
-
'grpc.http2.max_ping_strikes'
|
22
|
+
'grpc.keepalive_time_ms' => 10_000, # send keepalive ping every 10 second, default is 2 hours
|
23
|
+
'grpc.keepalive_timeout_ms' => 5000, # keepalive ping time out after 5 seconds, default is 20 seoncds
|
24
|
+
'grpc.keepalive_permit_without_calls' => 1, # allow keepalive pings when there's no gRPC calls
|
25
|
+
'grpc.http2.max_pings_without_data' => 0, # allow unlimited amount of keepalive pings without data
|
26
|
+
'grpc.http2.min_time_between_pings_ms' => 10_000, # allow grpc pings from client every 10 seconds
|
27
|
+
'grpc.http2.min_ping_interval_without_data_ms' => 5000, # allow grpc pings from client without data every 5 seconds
|
28
|
+
'grpc.http2.max_ping_strikes' => 2 # How many misbehaving pings the server can bear before sending goaway and closing the transport
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
data/lib/istox/version.rb
CHANGED