Skip to content

Commit 2ae9279

Browse files
committed
more explicit comment
1 parent 5c74b7f commit 2ae9279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instrument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options
236236
}
237237
case ActionTypes.PERFORM_ACTION: {
238238
if (options.maxAge && stagedActionIds.length === options.maxAge) {
239-
// If maxAge has been reached, remove oldest action.
239+
// If maxAge has been reached, auto-commit earliest non-@@INIT action.
240240
delete actionsById[stagedActionIds[1]];
241241
skippedActionIds = skippedActionIds.filter(id => id !== stagedActionIds[1]);
242242
stagedActionIds = [0].concat(stagedActionIds.slice(2));

0 commit comments

Comments
 (0)