Skip to content

Commit d4abc0e

Browse files
committed
Refactor: syncTrigger의 BufferOverflow 전략 수정
1 parent 3b674a6 commit d4abc0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/src/main/java/com/threegap/bitnagil/data/routine/repositoryImpl/RoutineRepositoryImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class RoutineRepositoryImpl @Inject constructor(
4040
private val originalStatesByDate = mutableMapOf<String, MutableMap<String, RoutineCompletionInfo>>()
4141
private val syncTrigger = MutableSharedFlow<String>(
4242
extraBufferCapacity = 1,
43-
onBufferOverflow = BufferOverflow.DROP_LATEST,
43+
onBufferOverflow = BufferOverflow.DROP_OLDEST,
4444
)
4545

4646
init {

0 commit comments

Comments
 (0)