Merged
Conversation
# Conflicts: # .idea/sqldialects.xml
…e deprecated getConnection() call it's replacement
# Conflicts: # src/main/kotlin/com/ex_dock/ex_dock/database/connection/ConnectionPool.kt
…e deprecated getConnection() call it's replacement
…plement-home-frontend # Conflicts: # src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt
…mplateEngine-Caching # Conflicts: # src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/frontend/template_engine/TemplateEngineVerticle.kt
## Cache Added a templating cache to the templateEngineVerticle. The templates get saved as compiled strings and can be fetched on request. ## Refresh The data cache refreshes when data gets added/edited/removed. This only refreshes the data that gets changed. The template cache recompiles entirely when this happens. ## Cache data Removed the flag from the flag data. This is because Caffeine has a built-in cache refresh. Instead of checking if the flag is set before fetching, it instead refreshes on data change. ## Optimization Removed the invalidate from the hit counter and changed it to a refresh. This makes it so the data gets fetched a bit quicker. The test now runs in 5.532 seconds in IntelliJ itself. So with the starting time of the verticles. Closes #47
# Conflicts: # src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/database/account/AccountJdbcVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/database/connection/ConnectionPool.kt # src/main/kotlin/com/ex_dock/ex_dock/database/product/ProductJdbcVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/database/service/ServiceData.kt # src/main/kotlin/com/ex_dock/ex_dock/database/service/ServiceVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/database/template/TemplateClasses.kt # src/main/kotlin/com/ex_dock/ex_dock/database/template/TemplateJdbcVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/frontend/template_engine/TemplateEngineVerticle.kt # src/main/kotlin/com/ex_dock/ex_dock/helper/VerticleDeployHelper.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on: #34
closes #36, closes #37