Ron Au commited on
Commit
4ffd798
1 Parent(s): 6d192ff

feat(limit): Reduce interval to 2s

Browse files
Files changed (1) hide show
  1. static/js/index.js +1 -1
static/js/index.js CHANGED
@@ -35,7 +35,7 @@ const generate = async () => {
35
  scene.scrollIntoView({ behavior: 'smooth', block: 'center' });
36
  }
37
 
38
- await new Promise((resolve) => setTimeout(resolve, 5_000));
39
 
40
  pulls += 1;
41
  const resolvedCardUrl = new URL(`new_card?pull=${pulls}`, document.location.origin + document.location.pathname).href;
 
35
  scene.scrollIntoView({ behavior: 'smooth', block: 'center' });
36
  }
37
 
38
+ await new Promise((resolve) => setTimeout(resolve, 2_000));
39
 
40
  pulls += 1;
41
  const resolvedCardUrl = new URL(`new_card?pull=${pulls}`, document.location.origin + document.location.pathname).href;