mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
pvattest: Expand HTTPS timeout to 2 min
Match the clients timeout to the servers timeout. Reviewed-by: Marc Hartmayer <marc@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
8878ba4fd2
commit
74a338edfc
@@ -16,7 +16,7 @@ use crate::additional::AttestationResult;
|
||||
use crate::cli::CheckOpt;
|
||||
|
||||
const CHECK_DEFAULT_ENDP: &str = "https://esupport.ibm.com/eccedge/ent/z";
|
||||
const TIMEOUT_MAX: Duration = Duration::from_secs(3);
|
||||
const TIMEOUT_MAX: Duration = Duration::from_secs(120);
|
||||
const USER_AGENT: &str = "s390-tools-pvattest";
|
||||
const CONTENT_TYPE: &str = "Content-Type: application/json";
|
||||
const CLIENT_ID: &str = "x-client-id: X";
|
||||
|
||||
Reference in New Issue
Block a user