sift_py.grpc.keepalive
¶
| CLASS | DESCRIPTION |
|---|---|
KeepaliveConfig |
Make make this public in the future to allow folks to configure their own keepalive settings |
| ATTRIBUTE | DESCRIPTION |
|---|---|
DEFAULT_KEEPALIVE_CONFIG |
TYPE:
|
DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS |
Allows connection without any active RPCs
|
DEFAULT_KEEPALIVE_TIMEOUT_MS |
Timeout while waiting for server to acknowledge keepalive ping
|
DEFAULT_KEEPALIVE_TIME_MS |
Interval with which to send keepalive pings
|
DEFAULT_MAX_PINGS_WITHOUT_DATA |
Disabled
|
DEFAULT_KEEPALIVE_CONFIG
module-attribute
¶
DEFAULT_KEEPALIVE_CONFIG: KeepaliveConfig = {
"keepalive_time_ms": DEFAULT_KEEPALIVE_TIME_MS,
"keepalive_timeout_ms": DEFAULT_KEEPALIVE_TIMEOUT_MS,
"keepalive_permit_without_calls": DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS,
"max_pings_without_data": DEFAULT_MAX_PINGS_WITHOUT_DATA,
}
DEFAULT_KEEPALIVE_PERMIT_WITHOUT_CALLS
module-attribute
¶
Allows connection without any active RPCs
DEFAULT_KEEPALIVE_TIMEOUT_MS
module-attribute
¶
Timeout while waiting for server to acknowledge keepalive ping
DEFAULT_KEEPALIVE_TIME_MS
module-attribute
¶
Interval with which to send keepalive pings
KeepaliveConfig
¶
Bases: TypedDict
Make make this public in the future to allow folks to configure their own keepalive settings if there is demand for it.
| ATTRIBUTE | DESCRIPTION |
|---|---|
keepalive_permit_without_calls |
TYPE:
|
keepalive_time_ms |
TYPE:
|
keepalive_timeout_ms |
TYPE:
|
max_pings_without_data |
TYPE:
|