exometer_core icon indicating copy to clipboard operation
exometer_core copied to clipboard

exometer_report:unsubscribe doesn't work

Open surik opened this issue 10 years ago • 2 comments

Because here key is used without retry_failed_metrics

surik avatar Dec 17 '15 17:12 surik

Ack. The retry_failed_metrics value really shouldn't have been part of the key in the first place. Since it is, I guess the unsubscribe_() function will need to use ets:select() with wildcards rather than ets:lookup().

uwiger avatar Dec 17 '15 18:12 uwiger

Or the option could be moved from the key to the subscriber record, in which case the lookup would remain reasonable.

tolbrino avatar Dec 29 '15 10:12 tolbrino