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

Allow to set expiration time #42

Open
tastytea opened this issue Dec 13, 2019 · 2 comments
Open

Allow to set expiration time #42

tastytea opened this issue Dec 13, 2019 · 2 comments

Comments

@tastytea
Copy link
Contributor

It would be great if I could set an expiration time. Since different services allow for different time frames and some store forever, maybe a minimum expiration time in seconds?

@etu
Copy link
Owner

etu commented Dec 14, 2019

Sure would be great! :) Not sure how to do that in a harmonized way since not all providers have expiry time though. Maybe exclude the ones who doesn't or something?

@tastytea
Copy link
Contributor Author

I was thinking of a minimum expiry time, and then rounding it up to the closest candidate. If it is set to 2 days and the provider only supports 1 day or 1 week, it would get rounded up to 1 week. The user can take care of excluding unsuitable providers in webpaste-provider-priority.

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

2 participants