Couchbase Questions: concurrency

Have a Question? Get it answered by our community

iceydee's picture
Asked 1 week 5 days ago
Latest activity 1 week 5 days ago

How can I fix autosaveAllModels when running my database in background thread (iOS)?

Hi!

I'm running CBLDatabase in a dispatch queue of my own - following the concurrency guidelines (iOS app). However, when the app is minimized, autosaveAllModels: is getting called on the main thread. This causes a crash because the database is being used on the wrong thread. How can I...

sruthi's picture
Asked 10 months 4 weeks ago
Latest activity 8 months 2 days ago

Getting following TypeError: Cannot read property 'status' of undefined, for concurrent 2000 request

Hi,

I have a simple code to get value from couchbase view using nodejs sdk. it works fine for 1000 request(from apache jmeter). but when i try for 2000 request it fails and throw following error

/xxx/xxx/xxx/xxx/node_modules/couchbase/lib/http.js:15
if (error &&...