Skip to content

change expiration type from int64 to time.Time #277

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

Conversation

Warashi
Copy link
Contributor

@Warashi Warashi commented May 20, 2021

FIX: https://discuss.dgraph.io/t/setwithttl-doesnt-work/14192

I did git bisect with added test and found #195 makes this broken.

#195 has 2 changes.

  1. change expiration type from time.Time to int64
  2. add a flag to toggle cost calculation

I reverted 1, and the test is fixed.


This change is Reviewable

@CLAassistant
Copy link

CLAassistant commented May 20, 2021

CLA assistant check
All committers have signed the CLA.

@karlmcguire
Copy link
Contributor

Great catch, thanks @Warashi!

@karlmcguire karlmcguire merged commit 9d4946d into hypermodeinc:master May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants