-
Notifications
You must be signed in to change notification settings - Fork 797
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 paste expiration for file storage configuration #191
Comments
Should be, from creation. Not last view.
Sent from TypeApp
…On Dec 28, 2017, 08:26, at 08:26, Martin ***@***.***> wrote:
`staticMaxAge - max age for static assets (86400)`
I see this line in README in the settings section, do you call pastes
"static assets" and if so, does that mean they expire in a day by
default?
Is that after last view or actual death time?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#191
|
Nope these are the max age times for static assets like README (you can add
others). You shouldn’t have to change this setting
Look for the expires key regarding hastes
…On Thu, Dec 28, 2017 at 8:28 AM geekism ***@***.***> wrote:
Should be, from creation. Not last view.
Sent from TypeApp
On Dec 28, 2017, 08:26, at 08:26, Martin ***@***.***> wrote:
>`staticMaxAge - max age for static assets (86400)`
>
>I see this line in README in the settings section, do you call pastes
>"static assets" and if so, does that mean they expire in a day by
>default?
>
>Is that after last view or actual death time?
>
>
>
>--
>You are receiving this because you are subscribed to this thread.
>Reply to this email directly or view it on GitHub:
>#191
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD9xakOuSpsdakrcYutRDs8-1Bmsfc7ks5tE5dsgaJpZM4ROUj6>
.
|
This is the extent of my config.js, I installed hastebin through this PKGBUILD on Arch - https://aur.archlinux.org/packages/haste-server-git/ Looking at the config.js in this repo, looks like I just have to throw the expire property to the storage block, so I did so.
Could the |
@C0rn3j |
Could that be documented in the README?
Would love to be able to set an expiration, whether it's at least max exp. on server side or perhaps even let have a shorter expiration on the client side. (my storage is limited) For example - PrivateBin has a dropdown menu like this. Not saying that Hastebin should let client be able to set shorter expiration than the max, just throwing it out there as an idea. The clutter this adds to the otherwise very clean interface may not be worth it. |
|
Yes, and while I could do that, it kinda kills the simplicity of the installation.
I have time, better see it added later than never ^^
Am not sure about other people who are new to the project, but I myself was totally confused. I'll re-title this Issue and see about a README PR. |
@C0rn3j Thanks - I'll keep following this issue and watch for more upvotes - and eventually get this done! |
This issue is stale because it has been open for 30 days with no activity. |
When it will be added? |
Btw is the expire working for amazon S3? |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
It isnt stale |
staticMaxAge - max age for static assets (86400)
I see this line in README in the settings section, do you call pastes "static assets" and if so, does that mean they expire in a day by default?
Is that after last view or actual death time?
The text was updated successfully, but these errors were encountered: