File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
controller-shared/src/main/kotlin/app/simplecloud/controller/shared/host Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ data class ServerHost(
1010 val id : String ,
1111 val host : String ,
1212 val port : Int ,
13+ val maximumMemory : Long ,
1314 val stub : ServerHostServiceGrpcKt .ServerHostServiceCoroutineStub ? = null ,
1415) {
1516
@@ -18,6 +19,7 @@ data class ServerHost(
1819 .setHostHost(host)
1920 .setHostPort(port)
2021 .setHostId(id)
22+ .setMaximumMemory(maximumMemory)
2123 .build()
2224 }
2325
@@ -28,6 +30,7 @@ data class ServerHost(
2830 serverHostDefinition.hostId,
2931 serverHostDefinition.hostHost,
3032 serverHostDefinition.hostPort,
33+ serverHostDefinition.maximumMemory,
3134 ServerHostServiceGrpcKt .ServerHostServiceCoroutineStub (
3235 createChannel(
3336 serverHostDefinition.hostHost,
You can’t perform that action at this time.
0 commit comments