Commit 28fd137
authored
fix: Bump default ping timeout (#3773)
Bump default ping timeout to 10 seconds to improve stability on systems
where initializing the Snaps Platform may take a bit of time.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Increase default ping timeout to 10s and update tests to explicitly
set a shorter timeout for ping failure behavior.
>
> - **Controllers**
> - `AbstractExecutionService`: Bump default `pingTimeout` from `2s` to
`10s` in constructor.
> - **Tests**
> - `AbstractExecutionService.test.ts`: Configure `createService` with
`pingTimeout: 1s` for the ping timeout failure test.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
f2f1975. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 8389c5b commit 28fd137
File tree
2 files changed
+4
-2
lines changed- packages/snaps-controllers/src/services
2 files changed
+4
-2
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments