Disable asset and item templates requests on login.#2243
Disable asset and item templates requests on login.#2243neskk wants to merge 1 commit intoRocketMap:developfrom
Conversation
|
we should store them in the database instead of disabling it, so other workers can reuse the values. |
|
It would be a waste of db operations, I've thought about saving them in a |
|
Adding comments from Discord:
The requests should be complete, but only done once where possible. |
|
I am storing the timestamps for each account in a JSON file on the disk so that the accounts only do the requests if actually something was changed. Thus, fresh accounts do it once and if nothing changes never again and additionally, it also survives restarts of the instance. |
…gin phase. This can save a lot of requests - up to 25 requests - per new unique account login.
Description
It defeats a bit the purpose of having them in the first place but when you're running a tight on RPM it can potentially save you from a bottleneck.
Motivation and Context
Run instance with
-nar,--no-asset-requeststo disable these requests.How Has This Been Tested?
Local instance.
Screenshots (if appropriate):
Types of changes
Checklist: