Skip to content

Commit

Permalink
fixed the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Feb 27, 2024
1 parent f5fee27 commit 7fc031f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nexrender-core/src/tasks/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);

let timeoutID = 0;
let updateTimeout = 0;
let updateTimeoutInterval = null;

if (settings.debug) {
settings.logger.log(`[${job.uid}] spawning aerender process: ${settings.binary} ${params.join(' ')}`);
Expand Down Expand Up @@ -219,7 +220,7 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
updateTimeout = Date.now()
});

const updateTimeoutInterval = setInterval(() => {
updateTimeoutInterval = setInterval(() => {
if (projectStart === null) return;

const now = Date.now()
Expand Down

0 comments on commit 7fc031f

Please sign in to comment.