From bb68a4a690ee6e550763451492aae9ca8d9342d2 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 2 Jun 2022 17:08:29 +0200 Subject: [PATCH] Using sql connections in round robbin mode instead of the same (possibly) --- src/de/steamwar/bungeecore/sql/Statement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/sql/Statement.java b/src/de/steamwar/bungeecore/sql/Statement.java index a216c89..61fcc00 100644 --- a/src/de/steamwar/bungeecore/sql/Statement.java +++ b/src/de/steamwar/bungeecore/sql/Statement.java @@ -115,7 +115,7 @@ public class Statement implements AutoCloseable { } synchronized (connections) { - connections.push(connection); + connections.addLast(connection); } return result;