Skip to content

If hash of vehicle positions data does not change after certain limit, emit a warning message #22

@VMois

Description

@VMois

if current_hash == previous_hash:
logger.debug(
f"Vehicle location data has not changed (hash: {current_hash}). Sleeping for 2 seconds."
)
time.sleep(2)

Later, we could use services like Sentry to emit an error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions