From c95dd1068e7910e3c19bd888be421469b64a1ad9 Mon Sep 17 00:00:00 2001 From: GuanZitong <63582297+GuanZitong@users.noreply.github.com> Date: Thu, 26 Mar 2026 00:13:32 +0900 Subject: [PATCH] fix: Storage load after backend is created (#71) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎉 Merged! Thank you so much, @GuanZitong! This is exactly the kind of contribution that helps Floci grow — your work is genuinely appreciated. If you're up for it, there's plenty more to dig into: - 👀 Check out the open issues — some are tagged as good first steps for contributors - 💬 If you have ideas or ran into something while working on this, feel free to open an issue or start a discussion - 🔧 PRs for documentation, tests, and bug fixes are always welcome Hoping to see your name pop up again soon. Welcome to the Floci community! 🙌 --- .../github/hectorvent/floci/core/storage/StorageFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/io/github/hectorvent/floci/core/storage/StorageFactory.java b/src/main/java/io/github/hectorvent/floci/core/storage/StorageFactory.java index 71e1887063..1c217f4bbb 100644 --- a/src/main/java/io/github/hectorvent/floci/core/storage/StorageFactory.java +++ b/src/main/java/io/github/hectorvent/floci/core/storage/StorageFactory.java @@ -65,6 +65,9 @@ public class StorageFactory { default -> throw new IllegalArgumentException("Unknown storage mode: " + mode); }; + // load because loadAll() may run before the service is initialized + backend.load(); + allBackends.add(backend); return backend; }