Skip to content
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

Tracking issue of GSP-41: Turn Pair Expire into Duration #676

Closed
4 tasks done
Xuanwo opened this issue Jul 16, 2021 · 2 comments
Closed
4 tasks done

Tracking issue of GSP-41: Turn Pair Expire into Duration #676

Xuanwo opened this issue Jul 16, 2021 · 2 comments
Assignees
Labels

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Jul 16, 2021

This is a special case: we will change the type of our global pairs.

At the time we proposal the GSP-41, only one service(qingstor) implement Reach and depends on expire.

Affected Services

  • qingstor

Steps

  • Add support for time.Duration (Update cmd/definitions/tmpl/service.tmpl to import time package)
  • Change pair type from int to time.Duration (Update definitions/pairs.toml pair's type)
  • All services that refer to expire change to expire instead (Rebuild with new go-storage)
@Prnyself
Copy link
Member

Prnyself commented Jul 20, 2021

@aeinrw Since #681 is merged, could you please implement this change into go-service-qingstor? The related steps are list here.

@Prnyself
Copy link
Member

Good job! @aeinrw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants