Commit 2aa5e42
sai-praveen-os
feat(connectivity_check): run endpoint checks in parallel for faster execution
PLATEXP-11106
Changes:
- Modified handler to use Promise.all() for parallel execution
- All 6 endpoints now checked simultaneously instead of sequentially
- Reduces total execution time from ~30s to ~5s
- Eliminates timeout cascade where slow endpoints affect subsequent checks
- Improves reliability by preventing sequential timeout failures
Benefits:
- Faster detection of connectivity issues
- More accurate results (no timeout cascades)
- Lower Lambda execution costs
- Better user experience in dashboard1 parent 743e964 commit 2aa5e42
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
0 commit comments