Skip to content

Commit c55412b

Browse files
committed
Address minor suggestions
1 parent 444222d commit c55412b

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Prerequisites:
2323
* [context_propagation](context_propagation) - Use interceptors to propagate thread/fiber local data from clients
2424
through workflows/activities.
2525
* [dsl](dsl) - Demonstrates having a workflow interpret/invoke arbitrary steps defined in a DSL.
26-
* [eager_wf_start](eager_wf_start) - Demonstrates Eager Workflow Start to reduce latency for workflows that start with a local activity.
26+
* [eager_workflow_start](eager_workflow_start) - Demonstrates Eager Workflow Start to reduce latency for workflows that start with a local activity.
2727
* [encryption](encryption) - Demonstrates how to make a codec for end-to-end encryption.
2828
* [env_config](env_config) - Load client configuration from TOML files with programmatic overrides.
2929
* [message_passing_simple](message_passing_simple) - Simple workflow that accepts signals, queries, and updates.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ You can read more about Eager Workflow Start in our:
1111

1212
To run, first see [README.md](../README.md) for prerequisites. Then run the sample via:
1313

14-
bundle exec ruby eager_wf_start/run.rb
14+
bundle exec ruby eager_workflow_start/run.rb
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
require_relative 'eager_workflow'
77
require_relative 'greeting_activity'
88

9-
TASK_QUEUE = 'eager-wf-start-task-queue'
9+
TASK_QUEUE = 'eager-wf-start-sample'
1010

1111
# Note that the worker and client run in the same process and share the same client connection
1212
client = Temporalio::Client.connect('localhost:7233', 'default')
@@ -23,7 +23,7 @@
2323
handle = client.start_workflow(
2424
EagerWfStart::EagerWorkflow,
2525
'Temporal',
26-
id: "eager-workflow-id-#{SecureRandom.uuid}",
26+
id: 'eager-workflow-start-sample-workflow-id',
2727
task_queue: TASK_QUEUE,
2828
request_eager_start: true
2929
)

test/eager_wf_start/eager_workflow_test.rb renamed to test/eager_workflow_start/eager_workflow_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'test'
4-
require 'eager_wf_start/eager_workflow'
4+
require 'eager_workflow_start/eager_workflow'
55
require 'securerandom'
66
require 'temporalio/testing'
77
require 'temporalio/worker'

0 commit comments

Comments
 (0)