Skip to content

Commit

Permalink
Merge pull request #424 from KamToHung/master
Browse files Browse the repository at this point in the history
Fix test error
  • Loading branch information
KamToHung committed May 31, 2024
2 parents a4af4d1 + 29aabfa commit c7a1e40
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.dromara.dynamictp.core.spring.EnableDynamicTp;
import org.dromara.dynamictp.core.support.DynamicTp;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
Expand Down Expand Up @@ -48,7 +49,7 @@ public class Config {
* @see org.springframework.core.PriorityOrdered
*/
@Bean
public DemoService demoService(Executor asyncExecutor) {
public DemoService demoService(@Qualifier("commonExecutor") Executor asyncExecutor) {
return new DemoService(asyncExecutor);
}

Expand Down

0 comments on commit c7a1e40

Please sign in to comment.