Changing cache size to fit all the cards.

This commit is contained in:
marcins78@gmail.com
2013-01-08 23:26:14 +00:00
parent 68240b70b8
commit 0055bd72bc

View File

@@ -9,7 +9,7 @@ import java.util.Map;
public class CachedMerchantDAO implements MerchantDAO, Cached {
private MerchantDAO _delegate;
private Map<String, Transaction> _blueprintIdLastTransaction = Collections.synchronizedMap(new LRUMap(500));
private Map<String, Transaction> _blueprintIdLastTransaction = Collections.synchronizedMap(new LRUMap(4000));
public CachedMerchantDAO(MerchantDAO delegate) {
_delegate = delegate;