Name SDK IO thread

This commit is contained in:
Carter Jernigan 2023-05-17 13:46:51 -04:00 committed by Carter Jernigan
parent dd7370cfcb
commit 283581a770
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ internal object SdkExecutors {
* We don't expect things to break, but we don't have the WAL enabled for SQLite so this
* is a simple solution.
*/
val DATABASE_IO = Executors.newSingleThreadExecutor()
val DATABASE_IO = Executors.newSingleThreadExecutor {
Thread(it, "zc-io").apply { isDaemon = true }
}
}
object SdkDispatchers {