File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/ru/mystamps/web/config Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 24
24
import org .springframework .context .annotation .Configuration ;
25
25
import org .springframework .core .env .Environment ;
26
26
import org .springframework .mail .javamail .JavaMailSender ;
27
- import org .springframework .scheduling .annotation .EnableAsync ;
28
27
29
28
import lombok .RequiredArgsConstructor ;
30
29
33
32
import ru .mystamps .web .support .spring .security .SecurityConfig ;
34
33
35
34
@ Configuration
36
- @ EnableAsync
37
35
@ RequiredArgsConstructor
38
36
public class ServicesConfig {
39
37
Original file line number Diff line number Diff line change 22
22
import org .springframework .context .annotation .Configuration ;
23
23
import org .springframework .core .task .SimpleAsyncTaskExecutor ;
24
24
import org .springframework .scheduling .annotation .AsyncConfigurerSupport ;
25
+ import org .springframework .scheduling .annotation .EnableAsync ;
25
26
26
27
/**
27
28
* @author Sergey Chechenev
29
+ * @author Slava Semushin
28
30
*/
29
31
@ Configuration
32
+ @ EnableAsync
30
33
public class TaskExecutorConfig extends AsyncConfigurerSupport {
31
34
32
35
@ Override
You can’t perform that action at this time.
0 commit comments