Sekoree
Every HttpClient request has a 5 second delay before execution
I'm still insanely confused by this, for the time being I just switched to calling cURL.
I made a mini program that just created a HttpClient and then called the URL, same result
Ran it through dotTrace but all I can I see it that it waiting 4.2 seconds on a Montor.Wait internally.
Maybe its really just BitFocus Companion's way of how it uses Node's Express or something, I'll try with a local instance soon, but its really weird how every other way works fine, except the call from my code
29 replies
Every HttpClient request has a 5 second delay before execution
I tried both true/default and false, always the same. It’s was really just a desperation effort to add that.
When I’m there and have time I’ll see if I can profile a bit, also I made a second Test version that uses Commands instead of directly binding to the method, maybe that helps
29 replies
Every HttpClient request has a 5 second delay before execution
Just for completion sake, the repor code as well
https://github.com/Sekoree/ButtonGridder/blob/master/DelayReproTest/ViewModels/MainWindowViewModel.cs
29 replies
Every HttpClient request has a 5 second delay before execution
https://github.com/Sekoree/ButtonGridder
https://github.com/Sekoree/ButtonGridder/blob/3ca5d1d2f847b589b2ad87d6b59429df27ba76c1/ButtonGridder/Models/TriggerButtonModel.cs#L150
Parts a very ugly because time, should've been finished today
I'll try with a empty Ava app that just has a button that uses that code
29 replies
Every HttpClient request has a 5 second delay before execution
Here is a Video of what's happening , the really weird part is, from the response times everything seems fine. But the request doesn't actually go out hence the low time measures, it sort of does everything, then waits 5 second and actually everything happens including the UI Update
29 replies
✅ Trimming/NativeAOT preserve specific constructor(s) in ClassLibrary
Thank you so much! I think in my desperation I didn't quite enable the trimming warnings/analyzers right.
Also didn't know I could put Attributes in front of the T.
I currently went back to having a static Create method on the IManagerComponent interface (that I literally just committed lol), but I'm not that happy about it.
Thanks again for the help, I'll play around with it a bit
13 replies