Skip to content

Commit 87b4f69

Browse files
committed
Revert "fix: blocking auth server"
This reverts commit d45dc73.
1 parent e3e27fc commit 87b4f69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

controller-runtime/src/main/kotlin/app/simplecloud/controller/runtime/ControllerRuntime.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class ControllerRuntime(
7171
CoroutineScope(Dispatchers.IO).launch {
7272
try {
7373
authServer.start()
74+
logger.info("Auth server stopped.")
7475
} catch (e: Exception) {
7576
logger.error("Error in gRPC server", e)
7677
throw e

controller-runtime/src/main/kotlin/app/simplecloud/controller/runtime/oauth/OAuthServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ class OAuthServer(private val args: ControllerStartCommand, database: Database)
121121
}
122122
}
123123
}
124-
}.start(wait = false)
124+
}.start(wait = true)
125125
}
126126
}

0 commit comments

Comments
 (0)