ai creates booking
This commit is contained in:
@@ -12,7 +12,7 @@ class HttpConfig {
|
||||
fun restTemplate(builder: RestTemplateBuilder): RestTemplate {
|
||||
return builder
|
||||
.setConnectTimeout(Duration.ofSeconds(10))
|
||||
.setReadTimeout(Duration.ofSeconds(60))
|
||||
.setReadTimeout(Duration.ofMinutes(5))
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.android.trisolarisserver.config
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper
|
||||
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
@Configuration
|
||||
class JacksonConfig {
|
||||
@Bean
|
||||
fun objectMapper(): ObjectMapper {
|
||||
return jacksonObjectMapper()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user