Browse Source

chore: wait 15 min for AMO signing

Gerald 3 years ago
parent
commit
4b11f17f12
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/amo-upload.mjs

+ 4 - 1
scripts/amo-upload.mjs

@@ -19,10 +19,13 @@ async function main() {
     return;
   }
 
-  const pollOptions = !beta && {
+  const pollOptions = !beta ? {
     // disable status checking for listed versions since
     // we don't need to download the signed version
     pollRetry: 0,
+  } : {
+    pollInterval: 30000,
+    pollRetry: 30,
   };
 
   const tempFile = join(process.env.TEMP_DIR, Math.random().toString(36).slice(2, 8).toString());