Skip to content

Commit

Permalink
[test][zts] fix tests [4]
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Aug 15, 2024
1 parent 8ca2cf6 commit c540d67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/server/master.cc
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ Server::Server(enum Mode _mode) {
gs->max_concurrency = UINT_MAX;

message_bus.set_id_generator([this]() { return sw_atomic_fetch_add(&gs->pipe_packet_msg_id, 1); });
worker_thread_start = [](const WorkerFn &fn) { fn(); };

g_server_instance = this;
}
Expand Down
1 change: 0 additions & 1 deletion src/server/thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Factory *Server::create_thread_factory() {
}
reactor_threads = new ReactorThread[reactor_num]();
reactor_pipe_num = 1;
worker_thread_start = [](const WorkerFn &fn) { fn(); };
return new ThreadFactory(this);
}

Expand Down

0 comments on commit c540d67

Please sign in to comment.