geobin-io / geobin.io

[DEPRECATED] Inspect HTTP requests with Geographic Data.
Other
32 stars 5 forks source link

change bin expiration to be based on time since last access #101

Closed jyaganeh closed 9 years ago

jyaganeh commented 10 years ago

Currently there's a hard expiration on bins, which is less than ideal if you spend time setting up a bin and want to keep using it. We should change bin expiration to keep bins around until they are unused for some amount of time.

This could potentially be worked on leading up to or as a follow on for #82

aaronpk commented 10 years ago

Great idea!

aranasaurus commented 9 years ago

115 implements part of this. An expired bin will no longer exist, therefore the changes in #115 will make it so that posts to (and views of) an expired bin recreate it. This has the effect of making all data only ever last for 48 hours, however the bin itself (appears) to last forever.

I'd like to hear what others think about whether or not the data should be persisted. I lean toward the data always expiring after 48 hours, as geobin is meant to be debugging tool more than it is meant to be a form of persistence.

aaronpk commented 9 years ago

Agreed that the data should not persist more than 48 hours even if the bin lasts longer. I think this issue can be safely closed since ryan's PR re-creates the bin if new data is posted to it so bins will always look like they exist.