Skip to content

Commit a402dbd

Browse files
ewindischkolanos
authored andcommitted
fix: Fix this var for getRemainingTimeInMillis with NSolid layer (#329)
Signed-off-by: Erica Windisch <73207+ewindisch@users.noreply.github.com>
1 parent 1fe5944 commit a402dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function setupTimeoutCapture(wrapperInstance) {
2525
const maxEndTime = 899900; /* Maximum execution: 100ms short of 15 minutes */
2626
const configEndTime = Math.max(
2727
0,
28-
getRemainingTimeInMillis() - config.timeoutWindow
28+
getRemainingTimeInMillis.call(context) - config.timeoutWindow
2929
);
3030

3131
const endTime = Math.min(configEndTime, maxEndTime);

0 commit comments

Comments
 (0)