-
Notifications
You must be signed in to change notification settings - Fork 578
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
Support custom timestamp for Set #310
Comments
You can extend your entry with timestamp. Why do you need to manipulate timestamp used by bigcache? |
Cuz we want to insert data, these data originally have its start time, if we use default time as inserting time, it will have a delay. For example, one data start time is 10:00, expire time 2min, then we insert it at 10:01, using big cache scanning delete feature, it will be deleted at 10:03. however, we want to delete at 10:02. So if we can specify start time at 10:00, we can delete at right time. I do not want to store time into queue cuz we already have "currentTimestamp" |
hi, any update? |
I just found when we push to queue, the timestamp is the time we insert into queue,
can we have an option that we can determine the inserted time?
like Set(key string, entry []byte, ts uint64) ?
The text was updated successfully, but these errors were encountered: