forked from Archives/Athou_commafeed
more performance tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<!--
|
||||
<Resource id="MySQL" type="DataSource">
|
||||
JdbcDriver com.mysql.jdbc.Driver
|
||||
JdbcUrl jdbc:mysql://localhost/commafeed?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
|
||||
JdbcUrl jdbc:mysql://localhost/commafeed?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&maxReconnects=20
|
||||
UserName cf
|
||||
Password cf
|
||||
MaxActive 40
|
||||
MaxActive 50
|
||||
</Resource>
|
||||
-->
|
||||
<Container id="CommaFeedStateless" type="STATELESS">
|
||||
|
||||
Reference in New Issue
Block a user