Skip to content

Commit

Permalink
.setConnectionRequestTimeout(20000) slik at man ikke henger i evigheter
Browse files Browse the repository at this point in the history
  • Loading branch information
janolaveide committed Jun 22, 2021
1 parent 8422734 commit 0c51fda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ private static ConnectionConfig defaultConnectionConfig() {

public static RequestConfig requestConfig() {
return RequestConfig.custom()
.setConnectionRequestTimeout(20000)
.setCookieSpec(CookieSpecs.IGNORE_COOKIES)
.build();
}
Expand Down
5 changes: 0 additions & 5 deletions integrasjon/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,5 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.felles</groupId>
<artifactId>felles-testutilities</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

0 comments on commit 0c51fda

Please sign in to comment.