Skip to content
New issue

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

WeeniePrecaching #1047

Merged
merged 6 commits into from
Oct 9, 2018
Merged

Conversation

Mag-nus
Copy link
Member

@Mag-nus Mag-nus commented Oct 6, 2018

No description provided.

@Mag-nus Mag-nus changed the title WeeniePrecaching WeeniePrecaching WIP Oct 6, 2018
@Mag-nus
Copy link
Member Author

Mag-nus commented Oct 6, 2018

I think I'm going to add more world db precaching, spells, cookbooks, treasures, etc..

Null entries are now cached as well to prevent excessive queries to the database to pull records that do not exist.

The callers should raise warnings when a record doesn't exist.
@Mag-nus Mag-nus changed the title WeeniePrecaching WIP WeeniePrecaching Oct 8, 2018
@Mag-nus
Copy link
Member Author

Mag-nus commented Oct 8, 2018

This precaches (optional, off by default) most/all world database (non landblock) entities. Precaching uses about 400MB.

This will be useful for heavy populated servers. Servers for individuals probably wont want to use this if they are short on RAM.

@LtRipley36706 LtRipley36706 merged commit b7ca774 into ACEmulator:master Oct 9, 2018
@Mag-nus Mag-nus deleted the LandblockPreload-Parallel branch October 9, 2018 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants