lekeno / edr

ED Recon is an EDMC plugin for Elite Dangerous whose purpose is to provide intel about other commanders and in-game guidance for traders, explorers, bounty-hunters, and powerplay pledges.
https://edrecon.com
Apache License 2.0
86 stars 14 forks source link

Seems to be running with a significant delay? #302

Open nirurin opened 4 years ago

nirurin commented 4 years ago

Great plugin by the way, between this and EDMC I have a much cleaner interface than what I can get with EDDiscovery.

However, in your videos you have the plugin running pretty snappily. You enter the command "!outlaws", and you receive a response in the overlay basically immediately.

However when I do that, I have to wait a 10-second delay (I just counted it in a test) before the message appears.

I did wonder if it's just a 'loading' thing, but your examples seem to suggest otherwise. I tried the "!if" command to find factors, and there's a 5-second delay -before- the "loading" message appears, and then another 4/5 seconds for the information to pop up.

It's as if there's a 5 second delay between the command being sent and the plugin receiving it?

lekeno commented 4 years ago

Thanks for the compliment.

Regarding the delay, some of these commands can be expensive initially. For instance, the !if command is requesting a list of nearby systems to a server, and then proceed to get more details for each system (it's a bit smarter than that). The info is cached locally to speed up subsequent queries for the same system.

The !outlaws command shouldn't be too expensive though...

Feel free to join EDR Central, the official community for EDR, so that we can troubleshoot this further.