Skip to content

Commit

Permalink
fix(asset): Pass processingCheckWait and processingCheckWait to the n…
Browse files Browse the repository at this point in the history
…ext call

The bug is that after the first setTimeout both parameters are reset to their default values (5 &
500) because they are not passed further down the setTimeout chain.

closes #64
  • Loading branch information
Khaledgarbaya committed Oct 20, 2016
1 parent 645ba14 commit 52fe27f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/entities/asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ function createAssetApi (http) {
reject: reject,
id: id,
locale: locale,
checkCount: checkCount
checkCount: checkCount,
processingCheckWait,
processingCheckRetries
}),
processingCheckWait
)
Expand Down

0 comments on commit 52fe27f

Please sign in to comment.