Rename config
parent
8a4caef4a1
commit
797714618f
|
@ -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)
|
||||
|
||||
|
|
|
@ -4,5 +4,5 @@ h2StartWebServer=true
|
|||
h2tWebServerPort=8082
|
||||
h2TcpServerPort=9092
|
||||
apiServerPort=7000
|
||||
periodicFetchingInterval=900000
|
||||
statisticsUpdateInterval=900000
|
||||
minecraftStatsFolder=../test_data
|
Loading…
Reference in New Issue