Skip to content

Commit 4356d28

Browse files
committed
Format code
1 parent 3352d2f commit 4356d28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Sentry/Internal/Hub.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ internal ITransactionTracer StartTransaction(
203203
{
204204
// If sampling out is only a result of the downsampling then we specify the reason as backpressure
205205
// management... otherwise the event would have been sampled out anyway, so it's just regular sampling.
206-
discardReason = sampleRand < samplerSampleRate ? DiscardReason.Backpressure : DiscardReason.SampleRate;
206+
discardReason = sampleRand < samplerSampleRate ? DiscardReason.Backpressure : DiscardReason.SampleRate;
207207
}
208208

209209
// Ensure the actual sampleRate is set on the provided DSC (if any) when the TracesSampler reached a sampling decision
@@ -222,7 +222,7 @@ internal ITransactionTracer StartTransaction(
222222
{
223223
// If sampling out is only a result of the downsampling then we specify the reason as backpressure
224224
// management... otherwise the event would have been sampled out anyway, so it's just regular sampling.
225-
discardReason = sampleRand < optionsSampleRate ? DiscardReason.Backpressure : DiscardReason.SampleRate;
225+
discardReason = sampleRand < optionsSampleRate ? DiscardReason.Backpressure : DiscardReason.SampleRate;
226226
}
227227

228228
if (context.IsSampled is null && _options.TracesSampleRate is not null)

0 commit comments

Comments
 (0)