Skip to content

Commit

Permalink
chore(model): Remove an unused configuration parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Apr 19, 2024
1 parent 5d9c344 commit 4f3b07e
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("parallelTransactions")
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 4f3b07e

Please sign in to comment.