Skip to content

Commit

Permalink
Remove recursion (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffengreiner authored Sep 26, 2022
1 parent 82dd460 commit 6b2e70f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/groovy/life/qbic/QBiCDataSource.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class QBiCDataSource implements DataSource {
log.error("Turn $turn to get connection failed.")
log.error("Connection to database server timed out.", e)
}
turn++;
turn++
}
return this.source.connection
return connection
}
}

0 comments on commit 6b2e70f

Please sign in to comment.