Nikolay Kusch

Results 13 comments of Nikolay Kusch

Same problem in UWP and MAUI. Each asynchronous request is executed in a separate thread, takes at least 40 seconds of time. UPD. All authorization steps work fine, problems start...

> I still suggest profiling the application. Here. Base authorise. Created Client, sended TdApi.SetTdlibParameters, and TdApi.CheckDatabaseEncryptionKey. After sending TdApi.CheckDatabaseEncryptionKey, nothing arrive [zip.zip](https://github.com/egramtel/tdsharp/files/9266407/zip.zip)

Yes, I already tried changing the timeout. Increasing it to 10 seconds reduces the load by about 5%. I have been debugging the project for two days now, this is...

Checked the console application. Works fine, no problems. This is really getting interesting :)

I was using version 1.8.1.1 from nuget Then linked the code from github to figure out what was wrong. Now checked Nuget 1.7. No changes, CPU load and long wait...

Eventually I was able to get it to work. Tried to figure out what could be wrong in TdJson, called ``` TdLibBindingsExtensions.SetLogFilePath TdLibBindingsExtensions.SetLogVerbosityLevel ``` in the client constructor and everything...

I don't think there was much traffic. Basically just basic updates. Yes, I set "Info" first. The logs were fine. Not much time passed between the request and the answer....

I see such magic for the first time :) Perhaps it is worth adhering to the principle "It works - do not touch it", add logging by default to the...

> You use that in a GUI app with no console, right? Yes, MAUI. Now I've repackaged this library to the MAUI class library, use .Net 6.0.

When logging is enabled, everything works fine. If you disable logging again, requests are executed for a very long time and there is a heavy load on the CPU