more performance tweaks

This commit is contained in:
Athou
2013-04-26 07:12:19 +02:00
parent 85f381ad99
commit 51f11e48b5
2 changed files with 2 additions and 5 deletions

View File

@@ -7,8 +7,6 @@ import java.util.List;
import javax.ejb.Asynchronous;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.inject.Inject;
import org.apache.commons.collections.CollectionUtils;
@@ -28,7 +26,6 @@ import com.commafeed.backend.model.FeedSubscription;
import com.google.common.collect.Lists;
@Stateless
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public class FeedUpdateService {
@Inject

View File

@@ -3,10 +3,10 @@
<!--
<Resource id="MySQL" type="DataSource">
JdbcDriver com.mysql.jdbc.Driver
JdbcUrl jdbc:mysql://localhost/commafeed?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true
JdbcUrl jdbc:mysql://localhost/commafeed?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;failOverReadOnly=false&amp;maxReconnects=20
UserName cf
Password cf
MaxActive 40
MaxActive 50
</Resource>
-->
<Container id="CommaFeedStateless" type="STATELESS">