mirror of
https://github.com/nspcc-dev/send-fs-neo-org.git
synced 2026-03-01 04:29:27 +00:00
Epoch/time mismatch #54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Jun 21, 2023).
Originally assigned to: @mike-petrov on GitHub.
Expected Behavior
Objects stored for the specified number of epochs which can be approximately associated with some number of hours.
Current Behavior
The dropdown counts from "12 hours (2 epochs)" to "4 days (16 epochs)", but this suggests that an epoch is six hours long, while in fact it's one hour long. This means that the object supposed to be stored for 12 hours in fact is available just for two hours.
Possible Solution
Make it:
Epochs first since that's the real limit and it can deviate from wall clock time.
Steps to Reproduce (for bugs)
Push an object with "12 hours (2 epochs)" setting, in ~3 hours it's gone.
Context
33344d140ewas wrong.Your Environment