serilog-contrib / Serilog.Sinks.Telegram.Alternative

Serilog.Sinks.Telegram.Alternative is a library to save logging information from Serilog to Telegram.
MIT License
36 stars 12 forks source link

Queue Messages #1

Closed mbpakalin closed 4 years ago

mbpakalin commented 4 years ago

Hello, Thanks for this awesome project first of all. I've a problem with sending to telegram, i think i saw somewhere in the telegram docs i saw you can send only 30 messages in 1 second. Is there a queue system in this repo ? Because after a while, telegram blocks the bot and i cant receive any messages.

SeppPenner commented 4 years ago

Oh, sorry. I have overseen this. At the moment, there is no queue available.

SeppPenner commented 4 years ago

Well, I guess, this is a bug in the sink. I will check this.

SeppPenner commented 4 years ago

Should be fixed now with https://github.com/SeppPenner/Serilog.Sinks.Telegram/commit/c2c819c18aa06b5398beccc6e786d46261d04d34 and the option: sendBatchesAsSingleMessages: false.