Skip to content

Commit

Permalink
Avoid resetting the refresh interval
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Nov 4, 2022
1 parent 5bbfdfe commit 34242ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const createLogPositionStateContainer = (initialArguments: InitialLogPosi
(state: LogPositionState) => (refreshInterval: Partial<RefreshInterval>) =>
updateRefreshInterval(refreshInterval)(state),
startLiveStreaming: (state: LogPositionState) => () =>
updateRefreshInterval({ pause: false, value: 5000 })(state),
updateRefreshInterval({ pause: false })(state),
stopLiveStreaming: (state: LogPositionState) => () =>
updateRefreshInterval({ pause: true })(state),
jumpToTargetPosition: (state: LogPositionState) => (targetPosition: TimeKey | null) =>
Expand Down

0 comments on commit 34242ea

Please sign in to comment.