Skip to content

Commit

Permalink
Add ttl for sticky task list (#510)
Browse files Browse the repository at this point in the history
* Use getter function instead of dereference

* Add ttl for sticky task list

* rename and rebase

* update schema version to 0.4

* remove test print
  • Loading branch information
vancexu authored Jan 24, 2018
1 parent b9c8eef commit b7dc627
Show file tree
Hide file tree
Showing 19 changed files with 404 additions and 64 deletions.
4 changes: 2 additions & 2 deletions .gen/go/shared/idl.go

Large diffs are not rendered by default.

188 changes: 185 additions & 3 deletions .gen/go/shared/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions common/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ func TimeoutTypePtr(t s.TimeoutType) *s.TimeoutType {
return &t
}

// TaskListKindPtr makes a copy and returns the pointer to a TaskListKind.
func TaskListKindPtr(t s.TaskListKind) *s.TaskListKind {
return &t
}

// DecisionTaskFailedCausePtr makes a copy and returns the pointer to a DecisionTaskFailedCause.
func DecisionTaskFailedCausePtr(t s.DecisionTaskFailedCause) *s.DecisionTaskFailedCause {
return &t
Expand Down
Loading

0 comments on commit b7dc627

Please sign in to comment.