WIP: Make the UpdateRecevier not wait for each handler #4
Reference in New Issue
Block a user
Delete Branch "parallelhandler"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have no idea if awaiting each handler was intended behavior but it seems wrong to me to freeze the whole bot just because a command is taking long to execute
The receiver is not a component that is responsible for the execution of handlers. This is handled by IUpdateRouter, the standard implementation uses a pool to manage the life of handlers. For more info check : https://github.com/Rikitav/Telegrator/blob/master/Telegrator/Polling/UpdateRouter.cs
i still don't know if executing handlers synchronously was intended behaviour or not
considering MaximumParallelWorkingHandlers exists i assume not
Pull request closed