Skip to content

Alerts are not sent when exactly the same message was sent before #90

@0xJeti

Description

@0xJeti

Hi @honoki,

Spamming with issues :)

I'm not sure if this was your intention but when two alerts are sent via bbrf alert with the same message e.g.

bbrf alert test
bbrf alert test

only first message will be stored in CouchDB. Second attempt results in CouchDB returning error:
b'[{"id":"test","error":"conflict","reason":"Document update conflict."}]\n'

That's because document _id is set to message value that is not always unique.

Will it break something when alert _id will be auto-generated? (UUIDv4, timestamp etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions