Skip to content

Commit 283cafa

Browse files
committed
#68 Return EnableScheduling
Signed-off-by: vityaman <vityaman.dev@yandex.ru>
1 parent 0293296 commit 283cafa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/foundation/src/main/kotlin/ru/ifmo/se/dating/spring/SpringConfiguration.kt

+2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ package ru.ifmo.se.dating.spring
22

33
import org.springframework.context.annotation.Bean
44
import org.springframework.context.annotation.Configuration
5+
import org.springframework.scheduling.annotation.EnableScheduling
56
import java.time.Clock
67

78
@Configuration
9+
@EnableScheduling
810
class SpringConfiguration {
911
@Bean
1012
fun clock(): Clock = Clock.systemDefaultZone()

0 commit comments

Comments
 (0)