[PR #8] [MERGED] Reduce auto-refresh interval from 5 minutes to 1 hour #14

Closed
opened 2026-03-16 12:11:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hipcityreg/situation-monitor/pull/8
Author: @xaelophone
Created: 1/10/2026
Status: Merged
Merged: 1/10/2026
Merged by: @xaelophone

Base: mainHead: feature/reduce-autorefresh-interval


📝 Commits (1)

  • 74d3b66 Reduce auto-refresh interval from 5 minutes to 1 hour

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 js/main.js (+2 -2)

📄 Description

Summary

  • Reduces auto-refresh interval from 5 minutes to 1 hour to significantly cut Cloudflare Worker request volume
  • Estimated reduction: ~11,500 requests/day → ~960 requests/day (~92% reduction)
  • Users can still manually refresh anytime via the UI

Context

With ~40 Worker requests per refresh cycle and a 5-minute interval, we were hitting ~37,000 requests in just 3 days. At the current rate, we'd exceed the 100k free tier limit in ~9 days.

Test plan

  • Verify app loads and initial data fetch works
  • Confirm manual refresh still works via UI
  • Monitor Cloudflare dashboard to verify reduced request volume

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hipcityreg/situation-monitor/pull/8 **Author:** [@xaelophone](https://github.com/xaelophone) **Created:** 1/10/2026 **Status:** ✅ Merged **Merged:** 1/10/2026 **Merged by:** [@xaelophone](https://github.com/xaelophone) **Base:** `main` ← **Head:** `feature/reduce-autorefresh-interval` --- ### 📝 Commits (1) - [`74d3b66`](https://github.com/hipcityreg/situation-monitor/commit/74d3b66edfe5dcd7e12a0fd6a8503ef33877aa37) Reduce auto-refresh interval from 5 minutes to 1 hour ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `js/main.js` (+2 -2) </details> ### 📄 Description ## Summary - Reduces auto-refresh interval from 5 minutes to 1 hour to significantly cut Cloudflare Worker request volume - Estimated reduction: ~11,500 requests/day → ~960 requests/day (~92% reduction) - Users can still manually refresh anytime via the UI ## Context With ~40 Worker requests per refresh cycle and a 5-minute interval, we were hitting ~37,000 requests in just 3 days. At the current rate, we'd exceed the 100k free tier limit in ~9 days. ## Test plan - [ ] Verify app loads and initial data fetch works - [ ] Confirm manual refresh still works via UI - [ ] Monitor Cloudflare dashboard to verify reduced request volume 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:11:48 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#14
No description provided.