Remove useless comment
This commit is contained in:
parent
4c18c9c288
commit
ef481f12ca
|
@ -62,7 +62,7 @@ object Shutdown : State()
|
||||||
data class GracefulShutdown(val lastRunning: Running, val counts: Int = 0, val nextState: State = Uninitialized(lastRunning.clientSettings), val action: () -> Unit = {}) : State()
|
data class GracefulShutdown(val lastRunning: Running, val counts: Int = 0, val nextState: State = Uninitialized(lastRunning.clientSettings), val action: () -> Unit = {}) : State()
|
||||||
// server is currently running
|
// server is currently running
|
||||||
data class Running(val server: Http4kServer, val settings: ServerSettings, val clientSettings: ClientSettings) : State()
|
data class Running(val server: Http4kServer, val settings: ServerSettings, val clientSettings: ClientSettings) : State()
|
||||||
// clientSettings must only be accessed from the thread on the executorService
|
|
||||||
class MangaDexClient(private val clientSettingsFile: String) {
|
class MangaDexClient(private val clientSettingsFile: String) {
|
||||||
// this must remain singlethreaded because of how the state mechanism works
|
// this must remain singlethreaded because of how the state mechanism works
|
||||||
private val executorService = Executors.newSingleThreadScheduledExecutor()
|
private val executorService = Executors.newSingleThreadScheduledExecutor()
|
||||||
|
|
Loading…
Reference in a new issue