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

#70 - Population Tracking #105

Merged
merged 13 commits into from
Aug 2, 2020
Merged

Conversation

Maelstromeous
Copy link
Member

Merge #102 first.

Creates a in-memory and database list of active characters, along with periodic polling of the data and calculating on a per-instance basis how many characters are present on that zone. Closes #70 .

Creates a timer that checks all populations and ensure they've been seen by census in the past 2 minutes. Closes #31.

@Maelstromeous Maelstromeous added the enhancement New feature or request label Aug 2, 2020
@Maelstromeous Maelstromeous added this to the 2.0 Revival Alpha milestone Aug 2, 2020
@Maelstromeous Maelstromeous self-assigned this Aug 2, 2020
@Maelstromeous Maelstromeous changed the title Population Tracking WIP Population Tracking Aug 2, 2020
@Maelstromeous Maelstromeous changed the title WIP Population Tracking opulation Tracking Aug 2, 2020
@Maelstromeous Maelstromeous changed the title opulation Tracking #70 - Population Tracking Aug 2, 2020
microwavekonijn
microwavekonijn previously approved these changes Aug 2, 2020
src/authorities/OverdueInstanceAuthority.ts Outdated Show resolved Hide resolved
src/handlers/CharacterPresenceHandler.ts Show resolved Hide resolved
src/handlers/PopulationHandler.ts Outdated Show resolved Hide resolved
microwavekonijn
microwavekonijn previously approved these changes Aug 2, 2020
Copy link
Member

@microwavekonijn microwavekonijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hope eslints approves as well

@Maelstromeous Maelstromeous merged commit 71d87e4 into revive Aug 2, 2020
@Maelstromeous Maelstromeous deleted the features/70-population-tracking branch August 2, 2020 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Population Tracking Create background task / service to prune online players if not seen in a threshold time
2 participants