From 75bf1abceb729a2f4c323f4c46f11b753d3151dc Mon Sep 17 00:00:00 2001 From: Alan Richardson Date: Sat, 6 Apr 2024 19:38:57 +0100 Subject: [PATCH] added todo --- .../challenge/practicemodes/simpleapi/SimpleApiRoutes.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/challenger/src/main/java/uk/co/compendiumdev/challenge/practicemodes/simpleapi/SimpleApiRoutes.java b/challenger/src/main/java/uk/co/compendiumdev/challenge/practicemodes/simpleapi/SimpleApiRoutes.java index 0d9db51d..c468b04d 100644 --- a/challenger/src/main/java/uk/co/compendiumdev/challenge/practicemodes/simpleapi/SimpleApiRoutes.java +++ b/challenger/src/main/java/uk/co/compendiumdev/challenge/practicemodes/simpleapi/SimpleApiRoutes.java @@ -72,6 +72,8 @@ public SimpleApiRoutes(){ // TODO: should probably have a support multiple databases config somewhere simplethings.getERmodel().populateDatabase(EntityRelModel.DEFAULT_DATABASE_NAME); + // TODO: add a hook to add more instances if the database runs low e.g. < 5 + } public void configure() {