We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0104f8a commit c61ea60Copy full SHA for c61ea60
1 file changed
controller-shared/src/main/kotlin/app/simplecloud/controller/shared/host/ServerHost.kt
@@ -10,6 +10,7 @@ data class ServerHost(
10
val id: String,
11
val host: String,
12
val port: Int,
13
+ val maximumMemory: Long,
14
val stub: ServerHostServiceGrpcKt.ServerHostServiceCoroutineStub? = null,
15
) {
16
@@ -18,6 +19,7 @@ data class ServerHost(
18
19
.setHostHost(host)
20
.setHostPort(port)
21
.setHostId(id)
22
+ .setMaximumMemory(maximumMemory)
23
.build()
24
}
25
@@ -28,6 +30,7 @@ data class ServerHost(
28
30
serverHostDefinition.hostId,
29
31
serverHostDefinition.hostHost,
32
serverHostDefinition.hostPort,
33
+ serverHostDefinition.maximumMemory,
34
ServerHostServiceGrpcKt.ServerHostServiceCoroutineStub(
35
createChannel(
36
0 commit comments