File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/io/undertow/server/handlers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4646public class LearningPushHandler implements HttpHandler {
4747
4848 private static final String SESSION_ATTRIBUTE = "io.undertow.PUSHED_RESOURCES" ;
49- private static final int DEFAULT_MAX_CACHE_ENTRIES = 200 ;
50- private static final int DEFAULT_MAX_CACHE_AGE = LRUCache .MAX_AGE_NO_EXPIRY ;
49+ private static final int DEFAULT_MAX_CACHE_ENTRIES = Integer . getInteger ( "io.undertow.handlers.learning-push.default-max-entries" , 200 ) ;
50+ private static final int DEFAULT_MAX_CACHE_AGE = Integer . getInteger ( "io.undertow.handlers.learning-push.default-max-age" , LRUCache .MAX_AGE_NO_EXPIRY ) ;
5151
5252 private final LRUCache <String , LRUCache <String , PushedRequest >> cache ;
5353
You can’t perform that action at this time.
0 commit comments