Skip to content

mongodb-changestream-review.py error when no changes found #152

@tmcallaghan

Description

@tmcallaghan

line 123 - currentTs is undefined if no changes found. add logic to check for 0 changes and set oplogSeconds to 0

oplogSeconds = (currentTs.as_datetime()-startTs.as_datetime()).total_seconds()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions