Skip to content

Commit e76a672

Browse files
Revert "feat: event reprocessing, rate-limit analytics, body size limits, and…" (#862)
This reverts commit d789096.
1 parent c054b32 commit e76a672

6 files changed

Lines changed: 1 addition & 417 deletions

File tree

django-backend/soroscan/ingest/tests/test_admin_audit_trail.py

Lines changed: 0 additions & 95 deletions
This file was deleted.

django-backend/soroscan/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def __init__(self, get_response):
134134

135135
def __call__(self, request):
136136
# We check this at the very beginning of the __call__
137-
if request.method in ("POST", "PUT", "PATCH"):
137+
if request.method == "POST":
138138
max_size = getattr(settings, "MAX_REQUEST_BODY_SIZE", 10485760)
139139
try:
140140
content_length = int(request.META.get('CONTENT_LENGTH', 0))

soroscan-frontend/app/dashboard/page.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ export default function DashboardPage() {
5656
<p className="text-sm text-terminal-gray">
5757
Snapshot viewer for key operational metrics. Use the controls to inspect recent intervals.
5858
</p>
59-
<a
60-
href="/dashboard/rate-limits"
61-
className="inline-block rounded border border-terminal-cyan/40 px-3 py-2 text-xs uppercase text-terminal-cyan hover:bg-terminal-cyan/10"
62-
>
63-
View Rate Limit Analytics
64-
</a>
6559
</header>
6660

6761
<section className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4">

soroscan-frontend/app/dashboard/rate-limits/__tests__/RateLimitChart.test.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

soroscan-frontend/app/dashboard/rate-limits/components/RateLimitChart.tsx

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)