Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
squallstar committed Aug 5, 2022
1 parent b20dcd6 commit 69340dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/build.js
Expand Up @@ -105,7 +105,7 @@ Fliplet.Container.get = function(name, options) {

if (!container) {
if (options.ts > 5000) {
return Promise.reject('Container not found after ' + Math.round(options.ts) + ' seconds.');
return Promise.reject('Container not found after ' + Math.ceil(options.ts / 1000) + ' seconds.');
}

// Containers can render over time, so we need to retry later in the process
Expand Down

0 comments on commit 69340dc

Please sign in to comment.