ЛР6: наблюдаемость, SLO и диагностика отказов

This commit is contained in:
2026-11-16 21:07:01 +03:00
parent 470d9d6f1e
commit 8a96df4a74
217 changed files with 15534 additions and 34 deletions
@@ -0,0 +1,12 @@
package ru.mtusi.messenger.config.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.bind.DefaultValue;
import java.util.List;
@ConfigurationProperties(prefix = "upload")
public record UploadProperties(
@DefaultValue("10485760") long maxBytes,
@DefaultValue("40000000") long maxPixels,
@DefaultValue({"image/png", "image/jpeg"}) List<String> allowedContentTypes) {}