setThreadTimeoutMillis

open fun setThreadTimeoutMillis(threadTimeoutMillis: Long): GlideExecutor.Builder

Allows both core and non-core threads in the executor to be terminated if no tasks arrive for at least the given timeout milliseconds.

Use NO_THREAD_TIMEOUT to remove a previously set timeout.