fix(db): limits max connection to avoid data loss

This commit is contained in:
js0ny 2025-12-06 11:09:40 +00:00
parent 9db0a7013a
commit b8fd649ccf
2 changed files with 3 additions and 0 deletions

View file

@ -53,6 +53,7 @@ public class TelemetryService {
CompletableFuture.runAsync(() -> {
try {
String json = mapper.writeValueAsString(event);
System.out.println("[INFO] Sending telemetry event: " + json);
var request = java.net.http.HttpRequest.newBuilder()
.uri(java.net.URI.create(BLACKBOX_URL + "/ingest"))
.header("Content-Type", "application/json")