Skip to content

Commit

Permalink
prettier-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Jul 24, 2023
1 parent 0a61e5a commit 1294b14
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/server/src/plugin/subscriptionCallback/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class SubscriptionManager {
logger?: ReturnType<typeof prefixedLogger>;
}) {
this.heartbeatIntervalMs = opts.heartbeatIntervalMs ?? 5000;
this.maxConsecutiveHeartbeatFailures = opts.maxConsecutiveHeartbeatFailures ?? 5;
this.maxConsecutiveHeartbeatFailures =
opts.maxConsecutiveHeartbeatFailures ?? 5;
this.logger = opts.logger
? prefixedLogger(opts.logger, 'SubscriptionManager')
: undefined;
Expand Down Expand Up @@ -399,9 +400,7 @@ class SubscriptionManager {
} else {
// We'll catch this below and log it with the expectation that we'll
// retry this request some number of times before giving up
throw new Error(
`Unexpected status code: ${result.status}`,
);
throw new Error(`Unexpected status code: ${result.status}`);
}

// If we make it here, there wasn't some transient error with the
Expand Down

0 comments on commit 1294b14

Please sign in to comment.