Skip to content

Commit

Permalink
Add timeout to email setup API call (#51)
Browse files Browse the repository at this point in the history
* Add timeout to email setup API call

* Bump up version to 2.15

* Switching to a snapshot version

---------

Co-authored-by: farthinder <[email protected]>
  • Loading branch information
karekoho101 and farthinder authored Apr 5, 2024
1 parent d9e72d0 commit 28f0b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.eficode.atlassian</groupId>
<artifactId>jirainstancemanager</artifactId>
<version>2.1.4</version>
<version>2.1.5-SNAPSHOT</version>
<description>A groovy library for interacting with Jira REST API.</description>

<properties>
Expand Down Expand Up @@ -176,4 +176,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ final class JiraInstanceManagerRest {
.cookie(cookies)
.field("noemail", "true")
.field("atl_token", cookies.find { it.name == "atlassian.xsrf.token" }.value)
.connectTimeout(4 * 60000)
.asString()

assert setupEmailResponse.status == 302, "Error setting up email"
Expand Down

0 comments on commit 28f0b7e

Please sign in to comment.