Skip to content

Commit

Permalink
chore(model): Remove an unused configuration parameter
Browse files Browse the repository at this point in the history
This is a fixup for f7dd719 which removed the use of this parameter.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Apr 19, 2024
1 parent 5b64b6c commit 3fc76e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions integrations/schemas/ort-configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,6 @@
"sslrootcert": {
"type": "string"
},
"parallelTransactions": {
"type": "integer"
},
"connectionTimeout": {
"type": "integer"
},
Expand Down
7 changes: 2 additions & 5 deletions model/src/main/kotlin/config/PostgresConnection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@

package org.ossreviewtoolkit.model.config

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonInclude.Include
import com.fasterxml.jackson.annotation.JsonProperty

@JsonIgnoreProperties("parallel_transactions")
data class PostgresConnection(
/**
* The database URL in JDBC format.
Expand Down Expand Up @@ -72,11 +74,6 @@ data class PostgresConnection(
@JsonInclude(Include.NON_NULL)
val sslrootcert: String? = null,

/**
* The number of parallel transactions to use for the storage dispatcher.
*/
val parallelTransactions: Int = 5,

/**
* The maximum number of milliseconds to wait for connections from the pool. For details see the
* [Hikari documentation](https://github.com/brettwooldridge/HikariCP#frequently-used).
Expand Down

0 comments on commit 3fc76e7

Please sign in to comment.