We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate and resolve the issue with the cancellation token where it seems to be getting lost or not propagated correctly, causing requests to fail.
The text was updated successfully, but these errors were encountered:
Устроил investigate , и... Я (почти) уверен что дело в _settings.Token в TelegramCommandFactory.cs:82
command.SetHandler(async context => { var telegramId = context.ParseResult.GetValueForOption(_globalOption); var result = await telegramCommand.Execute( context, telegramId, GetValueForArgument, _bus, _cacheService, _messageService, _settings.Token); _results.TryAdd(telegramId, result.Value); });
Следует передавать токен созданный в TelegramBot.cs:50
using var cts = new CancellationTokenSource(_settings.Timeout);
Sorry, something went wrong.
No branches or pull requests
Investigate and resolve the issue with the cancellation token where it seems to be getting lost or not propagated correctly, causing requests to fail.
The text was updated successfully, but these errors were encountered: