Skip to content

Commit 8a4582f

Browse files
committed
Use Channel.CONFLATED
1 parent 28ae19d commit 8a4582f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/src/main/java/org/wordpress/android/ui/reader/subscription/ReaderBlogSubscriptionUseCase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ReaderBlogSubscriptionUseCase @Inject constructor(
2323
private val networkUtilsWrapper: NetworkUtilsWrapper,
2424
@Named(BG_THREAD) private val bgDispatcher: CoroutineDispatcher
2525
) {
26-
private val updateResultChannel = Channel<UpdateResult>(Channel.BUFFERED)
26+
private val updateResultChannel = Channel<UpdateResult>(Channel.CONFLATED)
2727

2828
init {
2929
dispatcher.register(this)

0 commit comments

Comments
 (0)