Skip to content

Commit

Permalink
optimize maxsize
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 14, 2024
1 parent e8fa844 commit 067b647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/PageSourcePool.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
public final class PageSourcePool implements Dumpable {
// TODO must not be thread safe, is used in sync block only
private final Map<String, SoftReference<PageSource>> pageSources = new ConcurrentHashMap<String, SoftReference<PageSource>>();
private int maxSize_min = 1000;
private int maxSize_min = 767;
private PageSourcePoolWatcher watcher;
private Object token = new SerializableObject();
private MappingImpl mapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
public final class ScopeFactory {

private static final int MAX_SIZE = 50;
private static final int MAX_SIZE = 47;

int argumentCounter = 0;

Expand Down

0 comments on commit 067b647

Please sign in to comment.