wrap all slices with timeout slice
@@ -36,6 +36,7 @@ import com.artipie.http.rt.RtRule;
import com.artipie.http.rt.RtRulePath;
import com.artipie.http.rt.SliceRoute;
import com.artipie.http.slice.LoggingSlice;
+import java.time.Duration;
import java.util.Optional;
import java.util.logging.Level;
import java.util.regex.Pattern;
@@ -70,6 +71,7 @@ public final class Pie extends Slice.Wrap {
public Pie(final Settings settings) {
super(
new SafeSlice(
+ new TimeoutSlice(
new MeasuredSlice(
new DockerRoutingSlice(
new LoggingSlice(
@@ -89,6 +91,8 @@ public final class Pie extends Slice.Wrap {
)
)
)
+ ),
+ Duration.ofMinutes(1)
)
)
);
