Hey <@UC01FS1C3> I've been heavily doing server si...
# coroutines
v
Hey @Riku I've been heavily doing server side Kotlin for a while now. We created a custom threadpool; for our 8 core machine we have.
Copy code
ThreadPoolExecutor(
                16,
                MAX_DEFAULT_THREADS,
                DEFAULT_TTL_SECONDS_THREAD,
                TimeUnit.SECONDS,
                SynchronousQueue()
            ) { runnable ->
                Thread(runnable).also {
                    it.name = "default-thread-${it.id}"
                    it.isDaemon = true
                    it.priority = Thread.NORM_PRIORITY
                }
            }