Author: sichen
Date: Fri Sep 22 16:28:49 2006
New Revision: 449123
URL:
http://svn.apache.org/viewvc?view=rev&rev=449123Log:
services-multi will now set a transaction timeout equal to timeout of each service times number of rows called. patch from Peter Goron
Modified:
incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java
Modified: incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java?view=diff&rev=449123&r1=449122&r2=449123==============================================================================
--- incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java (original)
+++ incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java Fri Sep 22 16:28:49 2006
@@ -164,7 +164,7 @@
try {
// start the transaction
try {
- beganTrans = TransactionUtil.begin();
+ beganTrans = TransactionUtil.begin(modelService.transactionTimeout * rowCount);
} catch (GenericTransactionException e) {
throw new EventHandlerException("Problem starting transaction", e);
}