From 69340dcf5e7fd8ff09e92c5bdbcd032df7567ab7 Mon Sep 17 00:00:00 2001 From: Nicholas Valbusa Date: Fri, 5 Aug 2022 19:16:27 +0200 Subject: [PATCH] tweaks --- js/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/build.js b/js/build.js index b6821c3..0c98450 100644 --- a/js/build.js +++ b/js/build.js @@ -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