fix: updated from 9.3.3 to 15

This commit is contained in:
2026-05-19 20:22:37 +01:00
parent 27806f438f
commit 8589c83fb8
18 changed files with 45 additions and 76 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ async function updateRankCache() {
);
rankCache.clear();
users.forEach((row: any) => {
users.forEach((row: unknown) => {
rankCache.set(row.driver_guid.toString(), {
rank: row.rank_position,
rating: row.user_rank
@@ -112,7 +112,7 @@ export async function GET(request: Request) {
const heartbeat = setInterval(() => {
try {
controller.enqueue(encoder.encode(`: heartbeat\n\n`));
} catch (error) {
} catch {
clearInterval(heartbeat);
}
}, 30000);
@@ -124,7 +124,7 @@ export async function GET(request: Request) {
clearInterval(heartbeat);
try {
controller.close();
} catch (error) {
} catch {
// Controller already closed
}
});