mirror of
https://github.com/dflow-sh/dflow.git
synced 2026-04-26 22:05:53 +03:00
[GH-ISSUE #478] Optimize server listing page: Parallelize SSH connection checks in afterReadHook #303
Labels
No labels
backend
bug
developer
documentation
enhancement
enhancement
enhancement
feature
feature
fix
frontend
frontend
good first issue
help wanted
pull-request
safety-check
security
styles
styles
templates
templates
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dflow#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pavanbhaskardev on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/dflow-sh/dflow/issues/478
Originally assigned to: @pavanbhaskardev on GitHub.
Problem
Currently, in the
afterReadHookpayload for the server listing page, SSH connection checks are performed sequentially for each server. If a user has multiple servers (e.g., 10), the system executes 10 SSH connection checks one after another, causing significant delays in updating the connection status.Proposed Solution
afterReadHookto execute checks in parallel rather than sequentially.@pavanbhaskardev commented on GitHub (Oct 15, 2025):
afterReadhook2min@pavanbhaskardev commented on GitHub (Oct 16, 2025):
Pushed changes to main: commit