Skip to content

Commit 5ab238f

Browse files
refactor: Update Kotlin plugin settings and simplify Redis API initialization
1 parent cc4e561 commit 5ab238f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.idea/kotlinc.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

surf-maintenance-velocity/src/main/kotlin/dev/slne/surf/maintenance/velocity/VelocityRedisLoader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class VelocityRedisLoader {
1010
lateinit var redisApi: RedisApi
1111

1212
fun connect() {
13-
redisApi = RedisApi.create(plugin.dataPath)
13+
redisApi = RedisApi.create()
1414
redisApi.subscribeToEvents(MaintenanceRedisListener)
1515
redisApi.freezeAndConnect()
1616
}

0 commit comments

Comments
 (0)