java-ssd-object-detection icon indicating copy to clipboard operation
java-ssd-object-detection copied to clipboard

openbucket issue.

Open madanctc opened this issue 5 years ago • 0 comments

Hi openbucket is having 2 parameter (username, pwd). its not allowing bucket time out and time units. with out these 2 parameter my services are throwing timeout exception. i have written simple code which is working but not in spring-data-couchbase.

    	 CouchbaseEnvironment env =
				   DefaultCouchbaseEnvironment
				   .builder().connectTimeout(10000)
				   .kvTimeout(5000) //in ms
				   .build();
		
		Cluster cluster = CouchbaseCluster.create(env,hostIp);
		cluster.authenticate(bktName,bktpwd); 
		 
		Bucket bucket = cluster.openBucket(bktName  , bktTimeout, TimeUnit.SECONDS);

madanctc avatar May 27 '19 10:05 madanctc