Skip to content

Commit 8032970

Browse files
committed
feat: increase waiting time
1 parent f974322 commit 8032970

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/platform-ios/src/app-monitor.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import * as libimobiledevice from './libimobiledevice.js';
1414
const MAX_RECENT_LOG_LINES = 200;
1515
const MAX_RECENT_CRASH_ARTIFACTS = 10;
1616
const CRASH_ARTIFACT_SETTLE_DELAY_MS = 100;
17-
const CRASH_ARTIFACT_WAIT_TIMEOUT_MS = 2000;
18-
const CRASH_ARTIFACT_POLL_INTERVAL_MS = 100;
17+
const CRASH_ARTIFACT_WAIT_TIMEOUT_MS = 10000;
18+
const CRASH_ARTIFACT_POLL_INTERVAL_MS = 1000;
1919

2020
type TimedLogLine = {
2121
line: string;
@@ -169,8 +169,8 @@ const createAppMonitorBase = () => {
169169
: [];
170170
const matchingByProcess = options.processName
171171
? recentCrashArtifacts.filter(
172-
(artifact) => artifact.processName === options.processName
173-
)
172+
(artifact) => artifact.processName === options.processName
173+
)
174174
: [];
175175
const candidates =
176176
matchingByPid.length > 0

0 commit comments

Comments
 (0)