eureka icon indicating copy to clipboard operation
eureka copied to clipboard

fix: Replace static %d placeholders with AtomicInteger in thread factories

Open imyxiao opened this issue 9 months ago • 0 comments

Summary

Resolves thread naming issues caused by removing Guava's ThreadFactoryBuilder in #1526. Previously, thread names like Eureka-Worker-%d relied on Guava's formatting. This PR replaces %d with AtomicInteger to generate unique names (e.g., Eureka-Worker-1).

Changes

  • Added AtomicInteger to dynamically number threads.
  • Fixed 3-4 instances of thread factories.

imyxiao avatar Mar 22 '25 12:03 imyxiao