Skip to content

Commit

Permalink
Add slack channel to readme page (cadence-workflow#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu authored Aug 22, 2019
1 parent b1ca506 commit fc2d286
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Cadence [![Build Status](https://badge.buildkite.com/159887afd42000f11126f85237317d4090de97b26c287ebc40.svg?theme=github&branch=master)](https://buildkite.com/uberopensource/cadence-server) [![Coverage Status](https://coveralls.io/repos/github/uber/cadence/badge.svg)](https://coveralls.io/github/uber/cadence)
# Cadence
[![Build Status](https://badge.buildkite.com/159887afd42000f11126f85237317d4090de97b26c287ebc40.svg?theme=github&branch=master)](https://buildkite.com/uberopensource/cadence-server)
[![Coverage Status](https://coveralls.io/repos/github/uber/cadence/badge.svg)](https://coveralls.io/github/uber/cadence)
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://app.slack.com/team/UFQ98VD0T)

Cadence is a distributed, scalable, durable, and highly available orchestration engine we developed at Uber Engineering to execute asynchronous long-running business logic in a scalable and resilient way.

Expand Down
16 changes: 4 additions & 12 deletions service/history/mutableStateBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4007,13 +4007,9 @@ func (e *mutableStateBuilder) closeTransactionHandleActivityUserTimerTasks(
return err
}

if err := e.taskGenerator.generateUserTimerTasks(
return e.taskGenerator.generateUserTimerTasks(
e.unixNanoToTime(now.UnixNano()),
); err != nil {
return err
}

return nil
)
}

func (e *mutableStateBuilder) prepareTransaction(
Expand Down Expand Up @@ -4058,14 +4054,10 @@ func (e *mutableStateBuilder) prepareTransaction(
// since we only generate at most one activity & user timer,
// regardless of how many activity & user timer created
// so the calculation must be at the very end
if err := e.closeTransactionHandleActivityUserTimerTasks(
return e.closeTransactionHandleActivityUserTimerTasks(
now,
transactionPolicy,
); err != nil {
return err
}

return nil
)
}

func (e *mutableStateBuilder) cleanupTransaction(
Expand Down
6 changes: 1 addition & 5 deletions service/history/mutableStateTaskRefresher.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ func (r *mutableStateTaskRefresherImpl) refreshTasks(now time.Time) error {
return err
}

if err := r.refreshTasksForWorkflowSearchAttr(now); err != nil {
return err
}

return nil
return r.refreshTasksForWorkflowSearchAttr(now)
}

func (r *mutableStateTaskRefresherImpl) refreshTasksForWorkflowStart(
Expand Down
1 change: 1 addition & 0 deletions tools/cli/adminElasticSearchCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func AdminIndex(c *cli.Context) {
}
}

// AdminDelete used to delete documents from ElasticSearch with input of list result
func AdminDelete(c *cli.Context) {
esClient := getESClient(c)
indexName := getRequiredOption(c, FlagIndex)
Expand Down

0 comments on commit fc2d286

Please sign in to comment.