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

Persitent ids of aproved users #10

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Persitent ids of aproved users #10

merged 2 commits into from
Dec 11, 2023

Conversation

umputun
Copy link
Owner

@umputun umputun commented Dec 11, 2023

Adds support for persistent storage, keeping the list of approved users between restarts. The file is a simple binary, 8bytes per id (int64, little-endian). Loaded on startup and saved on exit.

New parameter --files.approved-users sets the file location. If empty, all this functionality is disabled.

@umputun umputun merged commit 5c91dd2 into master Dec 11, 2023
3 checks passed
@umputun umputun deleted the persitent-ids branch December 17, 2023 08:02
Copy link

Deploying tg-spam with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9fd1f6c
Status: ✅  Deploy successful!
Preview URL: https://52c3fa08.tg-spam.pages.dev

View logs

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.

1 participant