RedfishPkg/RedfishDiscoverDxe: introduce PcdRedfishSendReceiveTimeout
Introduce PCD PcdRedfishSendReceiveTimeout to RedfishDiscoverDxe driver. The SendReceiveTimeout is hard-code value in Redfish discover driver. With this PCD, platform owner can configure timeout value easily. Signed-off-by: Nickle Wang <nicklew@nvidia.com> Cc: Abner Chang <abner.chang@amd.com> Cc: Igor Kulchytskyy <igork@ami.com> Reviewed-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Igor Kulchytskyy <igork@ami.com>
This commit is contained in:
committed by
mergify[bot]
parent
01e1bc2894
commit
747a08eae2
@@ -877,7 +877,7 @@ AddAndSignalNewRedfishService (
|
||||
goto EXIT_FREE_CONFIG_DATA;
|
||||
}
|
||||
|
||||
RestExHttpConfigData->SendReceiveTimeout = 5000;
|
||||
RestExHttpConfigData->SendReceiveTimeout = PcdGet32 (PcdRedfishSendReceiveTimeout);
|
||||
RestExHttpConfigData->HttpConfigData.HttpVersion = HttpVersion11;
|
||||
RestExHttpConfigData->HttpConfigData.LocalAddressIsIPv6 = CheckIsIpVersion6 (NetworkInterface);
|
||||
if (RestExHttpConfigData->HttpConfigData.LocalAddressIsIPv6) {
|
||||
|
Reference in New Issue
Block a user