Skip to content

Commit 7d60f08

Browse files
committed
cancel timer after 100 times
1 parent 5c5b68f commit 7d60f08

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

MyApp/Pages/Shared/Testimonials.cshtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,13 @@
143143

144144
<script>
145145
/* DOWNLOAD COUNTER https://pqina.nl/flip/ */
146+
let counter = 0;
146147
function handleTickInit(tick) {
147148
Tick.helper.interval(function () {
149+
// Stop after 100 checks to prevent endless requests from idle tabs
150+
if (counter++ > 100) {
151+
return
152+
}
148153
fetch('https://account.servicestack.net/stats/live/servicestack.json')
149154
.then(function (r) { return r.json() })
150155
.then(function(stats) {

MyApp/wwwroot/okai/accepted/index.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,20 +1598,20 @@
15981598
"prompt": "Paddle Tournament Website – Short Functional Description\n\nA web application for managing padel/paddle tournaments with three user roles: Admin, Tournament Manager, and Participant.\n\nCore Features\n\t•\tUser registration, login, profile management, and password changes.\n\t•\tAdmins manage all users (create, edit, deactivate, change roles) and all tournaments.\n\t•\tTournament Managers create, edit, and delete their own tournaments, manage registrations, and view participants.\n\t•\tParticipants browse tournaments, view details, register/unregister, and see “My Tournaments.”\n\nTournaments\nEach tournament has: name, description, location, start/end, registration window, category, max participants, status, and creator.\nRegistrations ensure uniqueness (one user per tournament) and enforce rules (capacity, open dates, status).\n\nPublic Pages\n\t•\tHome with upcoming tournaments\n\t•\tTournament list (filter/search)\n\t•\tTournament details\n\t•\tLogin and sign-up\n\nAuthenticated Pages\n\t•\tProfile + change password\n\t•\tMy Tournaments\n\t•\tTournament creation/edit (Manager/Admin)\n\t•\tTournament participants (Manager/Admin)\n\t•\tUser management pages for Admin\n\nValidation\n\t•\tUnique email, secure passwords\n\t•\tTournament date logic (start < end, registration window valid)\n\t•\tRegistration only when open and not full\n\nNon-Functional\n\t•\tSecure authentication (password hashing)\n\t•\tRole-based access control\n\t•\tServer-side validation\n\t•\tTimestamping for auditability",
15991599
"groupName": "Registrations"
16001600
},
1601-
{
1602-
"id": "1764335731081",
1603-
"model": "claude-sonnet-4-5",
1604-
"timing": "6961",
1605-
"provider": "openrouter",
1606-
"prompt": "Table to store Customer Stripe Subscriptions",
1607-
"groupName": "CustomerStripeSubscriptions"
1608-
},
16091601
{
16101602
"id": "1764337230546",
16111603
"model": "claude-sonnet-4-5",
16121604
"timing": "12833",
16131605
"provider": "openrouter",
16141606
"prompt": "Manage Customer Stripe Subscriptions",
16151607
"groupName": "CustomerSubscriptions"
1608+
},
1609+
{
1610+
"id": "1765119822667",
1611+
"model": "claude-sonnet-4-5",
1612+
"timing": "14301",
1613+
"provider": "openrouter",
1614+
"prompt": "sua aplicação terá a seguinte função, será o cadastro de compras e vendas, basicamente receita e debito, entrada e saida com classificações de cada movimentação. sua aplicação terá os padrões de projeto mais utilizados no mercado para razor/blazor, pra estilização utilizará o bootstrap.",
1615+
"groupName": "Transactions"
16161616
}
16171617
]

0 commit comments

Comments
 (0)