Merge branch 'master' into master

This commit is contained in:
Loredana Crusoveanu
2023-06-02 16:23:25 +03:00
committed by GitHub
136 changed files with 2488 additions and 618 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
<!-- <module>java-lite</module> Not upgradable to java-17 adding in default-second and integration-lite-second profile that uses JDK 8-->
<module>javax-servlets</module>
<module>javax-servlets-2</module>
<module>jee-7</module>
<!--<module>jee-7</module>-->
<module>jooby</module>
<module>linkrest</module>
<module>ninja</module>
@@ -8,6 +8,7 @@ import com.baeldung.repository.EmployeeRepository;
import com.baeldung.repository.EmployeeRepositoryImpl;
import com.zaxxer.hikari.HikariConfig;
import io.netty.buffer.PooledByteBufAllocator;
import ratpack.exec.internal.DefaultExecController;
import ratpack.func.Action;
import ratpack.func.Function;
import ratpack.guice.BindingsSpec;
@@ -42,7 +43,7 @@ public class Application {
.maxContentLength(ServerConfig.DEFAULT_MAX_CONTENT_LENGTH)
.responseMaxChunkSize(16384)
.readTimeout(Duration.of(60, ChronoUnit.SECONDS))
.byteBufAllocator(PooledByteBufAllocator.DEFAULT);
.byteBufAllocator(PooledByteBufAllocator.DEFAULT).execController(new DefaultExecController(2));
});
final Function<Registry, Registry> registryFunction = Guice.registry(bindingsSpecAction);