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

Add Chunking to registered actions #4

Open
jpfauatwork opened this issue Jul 24, 2024 · 0 comments
Open

Add Chunking to registered actions #4

jpfauatwork opened this issue Jul 24, 2024 · 0 comments
Assignees

Comments

@jpfauatwork
Copy link
Owner

Despite optimizing the register player and presences commands to 3 and 7 queries, we need to keep in mind that there might be cases when the updated entries in the mass inserts might be too much:

  • Register Players Command: Update registered Bedrock Players
  • Register Presences: Add new Players
  • Register Presences: Upsert Presences

We will chunk these by default 30 entries, with the ability to override the setting with a custom .env variable
We will add a sleep time of 1 second, which we can override.

@jpfauatwork jpfauatwork self-assigned this Jul 24, 2024
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

No branches or pull requests

1 participant