test something
This commit is contained in:
parent
7cbcc30769
commit
c5ca241a4a
@ -104,7 +104,7 @@
|
||||
// Alternating delay: 5s -> 10s -> 5s -> 10s -> ...
|
||||
const PHASE_KEY = 'reloadPhase'; // 0 or 1
|
||||
const COUNT_KEY = 'reloadCount'; // simple counter
|
||||
const DELAYS = [5, 10];
|
||||
const DELAYS = [5, 3, 4, 2];
|
||||
|
||||
// Pick delay for this attempt, then advance the phase for next time
|
||||
const currentPhase = parseInt(localStorage.getItem(PHASE_KEY) || '0', 10) % DELAYS.length;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user