Skip to content

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

@Xuanwo

Description

@Xuanwo

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions