Skip to content

Commit

Permalink
Merge pull request #252 from rmevans9/saga-rounder
Browse files Browse the repository at this point in the history
Round the duration for sagas
  • Loading branch information
skellock committed Nov 12, 2016
2 parents 5486849 + 4fa748c commit 0d7b278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/reactotron-redux-saga/src/saga-monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default (reactotron, options) => {
parentEffectId: sourceEffectInfo.parentEffectId,
name: sourceEffectInfo.name,
description: sourceEffectInfo.description,
duration: sourceEffectInfo.duration,
duration: Math.round(sourceEffectInfo.duration),
status: sourceEffectInfo.status,
winner: sourceEffectInfo.winner,
loser: sourceEffectInfo.loser,
Expand All @@ -131,7 +131,7 @@ export default (reactotron, options) => {
reactotron.send('saga.task.complete', {
triggerType: sample.type,
description: sagaDescription,
duration,
duration: Math.round(duration),
children
})
}
Expand Down

0 comments on commit 0d7b278

Please sign in to comment.