queues, and posting to db works

This commit is contained in:
Daniel
2024-12-13 00:03:02 +02:00
parent 8b5f755152
commit 20b7465d6b
9 changed files with 171 additions and 76 deletions

View File

@@ -135,7 +135,7 @@ public class Raft {
String jsonBody = String.format(
"{\"leaderHost\": \"%s\", \"leaderPort\": %d}",
selfAddress.split(":")[0], selfPort
selfAddress.split(":")[0], Main.HTTP_PORT
);
try (OutputStream os = connection.getOutputStream()) {