Skip to content

Commit

Permalink
docs: remove the note about time filtering not working when listing m…
Browse files Browse the repository at this point in the history
…onitor alerts

It's now supported by the API.
  • Loading branch information
Sam Harrison committed Jun 11, 2020
1 parent fb16954 commit 5b04c41
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/commands/debugger/logs/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ class DebuggerLogsList extends TwilioClientCommand {
await sleep(STREAMING_DELAY_IN_SECONDS * 1000);

// If streaming, just look at the last X minutes. This allows for delayed
// events to show up. Note that time of day is ignored by this filter,
// but it will still allow us to capture logs during day rollovers (i.e.,
// our local clock just rolled over midnight but an event from 1 minute
// before midnight had yet to make its way through the pipeline);.
// events to show up.
props.startDate = new Date(new Date() - (STREAMING_HISTORY_IN_MINUTES * 60 * 1000));
props.endDate = undefined; // Eh, why not?

Expand Down

0 comments on commit 5b04c41

Please sign in to comment.