Skip to content

Commit

Permalink
Merge pull request #97 from erasche/groovy-conf-indent
Browse files Browse the repository at this point in the history
Correct indentation on groovy conf
  • Loading branch information
dularion committed Nov 27, 2015
2 parents 261c2a3 + 3308e85 commit dd48075
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions grails-app/conf/DataSource.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ environments {
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
}
}
docker {
dataSource {
}
docker {
dataSource {
dbCreate = "update"
driverClassName = "com.mysql.jdbc.Driver"
dialect = org.hibernate.dialect.MySQL5InnoDBDialect
Expand All @@ -88,26 +89,25 @@ environments {
password = "$pass"

properties {
// See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
jmxEnabled = true
initialSize = 5
maxActive = 50
minIdle = 5
maxIdle = 25
maxWait = 10000
maxAge = 10 * 60000
timeBetweenEvictionRunsMillis = 5000
minEvictableIdleTimeMillis = 60000
validationQuery = "SELECT 1"
validationQueryTimeout = 3
validationInterval = 15000
testOnBorrow = true
testWhileIdle = true
testOnReturn = false
jdbcInterceptors = "ConnectionState"
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
// See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
jmxEnabled = true
initialSize = 5
maxActive = 50
minIdle = 5
maxIdle = 25
maxWait = 10000
maxAge = 10 * 60000
timeBetweenEvictionRunsMillis = 5000
minEvictableIdleTimeMillis = 60000
validationQuery = "SELECT 1"
validationQueryTimeout = 3
validationInterval = 15000
testOnBorrow = true
testWhileIdle = true
testOnReturn = false
jdbcInterceptors = "ConnectionState"
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
}
}
}
}
}

0 comments on commit dd48075

Please sign in to comment.