1
0
Fork 0

Rename config

main
Kevin Belisle 2021-06-30 16:59:47 -04:00
parent 8a4caef4a1
commit 797714618f
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ fun main() =
val h2tWebServerPort = config.getProperty("h2tWebServerPort").toInt()
val h2TcpServerPort = config.getProperty("h2TcpServerPort").toInt()
val apiServerPort = config.getProperty("apiServerPort").toInt()
val periodicFetchingInterval = config.getProperty("periodicFetchingInterval").toLong()
val statisticsUpdateInterval = config.getProperty("statisticsUpdateInterval").toLong()
val minecraftStatsFolder = config.getProperty("minecraftStatsFolder")
val database =
@ -41,7 +41,7 @@ fun main() =
initApiServer(apiServerPort, database)
initPeriodicFetching(periodicFetchingInterval, minecraftStatsFolder, database)
initPeriodicFetching(statisticsUpdateInterval, minecraftStatsFolder, database)
delay(60 * 1000L)

View File

@ -4,5 +4,5 @@ h2StartWebServer=true
h2tWebServerPort=8082
h2TcpServerPort=9092
apiServerPort=7000
periodicFetchingInterval=900000
statisticsUpdateInterval=900000
minecraftStatsFolder=../test_data