You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
In your current implementation all update handlers share a scope because getUpdates can return more than one update at a time. I think it would be better if every individual update would have it's own scope. It can be achieved by using IServiceScopeFactory and explicitly creating scope for each update inside HandleUpdateAsync.
The text was updated successfully, but these errors were encountered:
In your current implementation all update handlers share a scope because
getUpdates
can return more than one update at a time. I think it would be better if every individual update would have it's own scope. It can be achieved by usingIServiceScopeFactory
and explicitly creating scope for each update inside HandleUpdateAsync.The text was updated successfully, but these errors were encountered: