Skip to content

Archiver configuration should be configurable #141

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

Closed
guusdk opened this issue Dec 4, 2020 · 1 comment
Closed

Archiver configuration should be configurable #141

guusdk opened this issue Dec 4, 2020 · 1 comment

Comments

@guusdk
Copy link
Member

guusdk commented Dec 4, 2020

The plugin makes use of three archivers, that batch up database writes. Their configuration is currently hard-coded, but should be made configurable.

@guusdk
Copy link
Member Author

guusdk commented Dec 4, 2020

These are the new properties and their defaults:
conversation.archiver.conversation.max-work-queue-size default: 500
conversation.archiver.conversation.max-purge-interval default: 1000 (one second)
conversation.archiver.conversation.grace-period default: 50
conversation.archiver.message.max-work-queue-size default: 500
conversation.archiver.message.max-purge-interval default: 1000 (one second)
conversation.archiver.message.grace-period default: 50
conversation.archiver.participant.max-work-queue-size default: 500
conversation.archiver.participant.max-purge-interval default: 1000 (one second)
conversation.archiver.participant.grace-period default: 50

guusdk added a commit to guusdk/openfire-monitoring-plugin that referenced this issue Dec 4, 2020
These are the new properties and their defaults:

conversation.archiver.conversation.max-work-queue-size default: 500
conversation.archiver.conversation.max-purge-interval default: 1000 (one second)
conversation.archiver.conversation.grace-period default: 50
conversation.archiver.message.max-work-queue-size default: 500
conversation.archiver.message.max-purge-interval default: 1000 (one second)
conversation.archiver.message.grace-period default: 50
conversation.archiver.participant.max-work-queue-size default: 500
conversation.archiver.participant.max-purge-interval default: 1000 (one second)
conversation.archiver.participant.grace-period default: 50
@guusdk guusdk closed this as completed in 56344f0 Dec 8, 2020
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