Skip to content

Commit

Permalink
upped the transaction timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Oct 4, 2007
1 parent cb7a625 commit a6800c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion symmetric/src/main/resources/symmetric-database.xml
Expand Up @@ -43,7 +43,7 @@

<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
<property name="defaultTimeout" value="${db.sql.query.timeout.seconds}"/>
<property name="defaultTimeout" value="${db.tx.timeout.seconds}"/>
</bean>

<bean id="transactionTemplate" class="org.springframework.transaction.support.TransactionTemplate">
Expand Down
4 changes: 3 additions & 1 deletion symmetric/src/main/resources/symmetric-properties.xml
Expand Up @@ -16,7 +16,9 @@
<prop key="db.user">symmetric</prop>
<prop key="db.password"></prop>
<prop key="db.pool.initial.size">5</prop>
<prop key="db.pool.max.active">10</prop>
<prop key="db.pool.max.active">10</prop>
<!-- This has to be fairly big to account for large data loads -->
<prop key="db.tx.timeout.seconds">7200</prop>
<prop key="db.sql.query.timeout.seconds">60</prop>
<prop key="db.pool.max.wait.millis">30000</prop>
<prop key="db.pool.min.evictable.idle.millis">120000</prop>
Expand Down

0 comments on commit a6800c8

Please sign in to comment.