|
|
|
@ -72,6 +72,6 @@ public class PaymentManageApplication {
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
public MongoClientOptions mongoOptions() {
|
|
|
|
|
return MongoClientOptions.builder().maxConnectionIdleTime(6000).build();
|
|
|
|
|
return MongoClientOptions.builder().maxConnectionIdleTime(6000).socketTimeout(3000).maxWaitTime(3000).build();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|