Skip to content

Update mysql-schema.sql #13

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified bin/start-workflow.sh
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions configs/engine.yaml → configs/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ eventmesh:
plugins:
registry:
nacos:
address_list: "127.0.0.1:8848"
address_list: "192.168.68.111:8848"
selector:
nacos:
address_list: "127.0.0.1:8848"
address_list: "192.168.68.111:8848"
database:
mysql:
dsn: "root:123456@(127.0.0.1:3306)/db_workflow?charset=utf8&parseTime=True&loc=Local"
dsn: "root:3t8mmC87XP6J@(192.168.68.111:3306)/db_workflow?charset=utf8&parseTime=True&loc=Local"
max_idle: 50
max_open: 100
max_lifetime: 180000
Expand Down
2 changes: 1 addition & 1 deletion distribution/mysql-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ create table if not exists t_workflow_task_relation
status int not null,
create_time datetime default CURRENT_TIMESTAMP not null,
update_time datetime default CURRENT_TIMESTAMP not null,
index `index_from_task_id` (from_task_id)
index `index_from_task_id` (from_task_id),
index `index_workflow_id` (workflow_id)
)
collate = utf8mb3_bin;
Expand Down
2 changes: 1 addition & 1 deletion internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const (
MetricsOperationTask = "operation_task"
MetricsSwitchTask = "switch_task"
MetricsScheduler = "scheduler"
MetricsEngine = "engine"
MetricsEngine = "eventmesh_workflow"
MetricsTaskQueue = "task_queue"
)

Expand Down