Skip to content

Commit

Permalink
fix: remove _MS
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Sep 20, 2019
1 parent 0814717 commit ad9ee95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Span } from '../Span';
import { ReadableSpan } from './ReadableSpan';
import { BufferConfig } from '../types';

const DEFAULT_BUFFER_SIZE_MS = 100;
const DEFAULT_BUFFER_SIZE = 100;
const DEFAULT_BUFFER_TIMEOUT_MS = 20_000;

/**
Expand All @@ -38,7 +38,7 @@ export class BatchSpanProcessor implements SpanProcessor {

constructor(private readonly _exporter: SpanExporter, config?: BufferConfig) {
this._bufferSize =
config && config.bufferSize ? config.bufferSize : DEFAULT_BUFFER_SIZE_MS;
config && config.bufferSize ? config.bufferSize : DEFAULT_BUFFER_SIZE;
this._bufferTimeout =
config && config.bufferTimeout
? config.bufferTimeout
Expand Down

0 comments on commit ad9ee95

Please sign in to comment.