Customize Couchbase's socket connect timeout
Our Windows build is failing currently because the couchbase server does not handle a socket connection within a second (the default). This commit adds a property to customize this option and set it to 10 sec in the sample. While investigating this issue, it turns out that while `CouchbaseConfiguration` is public, it is not really possible to extend it in user's configuration. This commit fixes this problem and add a test that demonstrates how it can be used. Closes gh-5657
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
spring.couchbase.bootstrap-hosts=localhost
|
||||
|
||||
spring.couchbase.env.timeouts.connect=10000
|
||||
spring.couchbase.env.timeouts.socket-connect=10000
|
||||
|
||||
spring.data.couchbase.auto-index=true
|
||||
|
||||
Reference in New Issue
Block a user