grpc_session_info_set_threshold_np
- Sets the number of session information units to be saved.
grpc_error_t grpc_session_info_set_threshold_np(int threshold)
int threshold
The grpc_session_info_set_threshold_np() function sets the number of session information units to be saved. If a negative value is specified in threshold, discarding is not done automatically.
This function is MT-safe.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_OTHER_ERROR_CODE