Skip to content

Commit

Permalink
Changed default timeout to 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jul 7, 2023
1 parent ae9fb87 commit f57fd90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class Phase4PeppolHttpClientSettings extends HttpClientSettings
{
public static final Timeout DEFAULT_PEPPOL_CONNECTION_REQUEST_TIMEOUT = Timeout.ofSeconds (1);
public static final Timeout DEFAULT_PEPPOL_CONNECT_TIMEOUT = Timeout.ofSeconds (5);
// 5 minutes according to the TIA
public static final Timeout DEFAULT_PEPPOL_RESPONSE_TIMEOUT = Timeout.ofMinutes (5);
// 2 minutes according new Peppol SLAs
public static final Timeout DEFAULT_PEPPOL_RESPONSE_TIMEOUT = Timeout.ofMinutes (2);

public Phase4PeppolHttpClientSettings () throws GeneralSecurityException
{
Expand Down

0 comments on commit f57fd90

Please sign in to comment.