Hotfixes and CI/CD
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 3m51s

This commit is contained in:
Antoni Nuñez Romeu
2026-04-17 15:33:19 +02:00
parent b3f7d6bf98
commit 114fda056d
24 changed files with 2806 additions and 53 deletions

View File

@@ -315,14 +315,14 @@ const Sessions = () => {
const result = await withTimeout(
sessionService.createSession(newSessionData),
15000,
'Request timed out while creating session. Check DB/network and try again.'
30000,
'Request timed out while creating session. Please check your network connection and try again.'
);
if (result.success) {
await withTimeout(
refreshSessions(),
15000,
'Request timed out while refreshing sessions after create.'
30000,
'Request timed out while refreshing sessions. Please check your network connection and try again.'
);
if (editForm.makeActive && result.data) {
makeSessionActive(toActiveSessionShape(result.data));
@@ -349,8 +349,8 @@ const Sessions = () => {
end_time: null,
pauses: normalizedPausesForDb
}),
15000,
'Request timed out while updating current session.'
30000,
'Request timed out while updating current session. Please check your network connection and try again.'
);
await withTimeout(
refreshSessions(),
@@ -379,14 +379,14 @@ const Sessions = () => {
const result = await withTimeout(
sessionService.updateSession(editForm.id, updateData),
15000,
'Request timed out while updating session.'
30000,
'Request timed out while updating session. Please check your network connection and try again.'
);
if (result.success) {
await withTimeout(
refreshSessions(),
15000,
'Request timed out while refreshing sessions after update.'
30000,
'Request timed out while refreshing sessions. Please check your network connection and try again.'
);
if (editForm.makeActive && result.data) {
makeSessionActive(toActiveSessionShape(result.data));