Skip to content

Commit

Permalink
[improvement][broker] If there is a deadlock in the service, the prob…
Browse files Browse the repository at this point in the history
…e should return a failure because the service may be unavailable. Add unit testing code.
  • Loading branch information
yyj8 committed Dec 4, 2024
1 parent 532e69f commit e1a1dd5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ public class MockDeadlock {

@SneakyThrows
public static void startDeadlock() {
// 启动两个线程来模拟死锁
t1.start();
t2.start();
Thread.sleep(CHECK_STATUS_INTERVAL);
Expand Down

0 comments on commit e1a1dd5

Please sign in to comment.