RohanVashisht commited on
Commit
365cae3
·
verified ·
1 Parent(s): 68037ed

Update src/index.ts

Browse files
Files changed (1) hide show
  1. src/index.ts +2 -2
src/index.ts CHANGED
@@ -69,8 +69,8 @@ async function loadData() {
69
 
70
  await loadData();
71
 
72
- // Refresh the data every 10 minutes
73
- setInterval(loadData, 10 * 60 * 100);
74
 
75
  // --- CORS Headers ---
76
  const corsHeaders: Record<string, string> = {
 
69
 
70
  await loadData();
71
 
72
+ // Refresh the data every 30 minutes
73
+ setInterval(loadData, 60 * 60 * 500);
74
 
75
  // --- CORS Headers ---
76
  const corsHeaders: Record<string, string> = {