Skip to content

Commit 9fa4c3d

Browse files
committed
[Update]
- Adjust thread alive time.
1 parent bd13b99 commit 9fa4c3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

filepicker/src/main/java/me/rosuh/filepicker/FilePickerActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class FilePickerActivity : AppCompatActivity(), View.OnClickListener,
5252
1, // Initial pool size
5353
1, // Max pool size
5454
KEEP_ALIVE_TIME,
55-
TimeUnit.SECONDS,
55+
TimeUnit.MINUTES,
5656
loadingFileWorkerQueue
5757
)
5858
get() {
@@ -61,7 +61,7 @@ class FilePickerActivity : AppCompatActivity(), View.OnClickListener,
6161
1,
6262
1,
6363
KEEP_ALIVE_TIME,
64-
TimeUnit.SECONDS,
64+
TimeUnit.MINUTES,
6565
loadingFileWorkerQueue
6666
)
6767
}

0 commit comments

Comments
 (0)