Skip to content

Commit ad4693a

Browse files
timfishAbhiPrasad
andauthored
Apply suggestions from code review
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
1 parent a487e50 commit ad4693a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/node-native/src/thread-blocked-integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import type { ThreadBlockedIntegrationOptions, WorkerStartData } from './common'
88

99
const { isPromise } = types;
1010

11-
const DEFAULT_INTERVAL = 50;
12-
const DEFAULT_HANG_THRESHOLD = 5000;
11+
const DEFAULT_INTERVAL_MS = 50;
12+
const DEFAULT_HANG_THRESHOLD_MS = 5000;
1313

1414
function log(message: string, ...args: unknown[]): void {
1515
logger.log(`[Thread Blocked] ${message}`, ...args);

packages/node-native/src/thread-blocked-watchdog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let sentAnrEvents = 0;
3737
function log(...msg: unknown[]): void {
3838
if (debug) {
3939
// eslint-disable-next-line no-console
40-
console.log('[Blocked Watchdog]', ...msg);
40+
console.log('[Sentry Blocked Watchdog]', ...msg);
4141
}
4242
}
4343

0 commit comments

Comments
 (0)