Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
wsssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
wsssh
Commits
0d39f09f
Commit
0d39f09f
authored
Sep 22, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add delay for polling on error to prevent rapid retries
parent
9bb1a0b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
terminal.html
wssshd2/templates/terminal.html
+2
-2
No files found.
wssshd2/templates/terminal.html
View file @
0d39f09f
...
@@ -468,9 +468,9 @@ function pollData() {
...
@@ -468,9 +468,9 @@ function pollData() {
})
})
.
catch
(
error
=>
{
.
catch
(
error
=>
{
console
.
error
(
'Polling error:'
,
error
);
console
.
error
(
'Polling error:'
,
error
);
// Continue polling even on error
// Continue polling even on error
, but with delay
if
(
pollInterval
)
{
if
(
pollInterval
)
{
pollInterval
=
setTimeout
(
pollData
,
0
);
pollInterval
=
setTimeout
(
pollData
,
100
0
);
}
}
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment