couchbaselabs / CouchCocoa

Objective-C API for CouchDB on iOS and Mac OS
http://couchbaselabs.github.com/CouchCocoa/docs/
218 stars 66 forks source link

Null activeTasks in CouchServer #68

Closed airpaulg closed 11 years ago

airpaulg commented 11 years ago

Hello,

When I use -copy to pass a new instance of CouchServer to a new thread, activeTasks on that copy of CouchServer is always null and activityPollInterval stays at 0. Feel free to tell me what logging channels you need me to activate to help you resolve this.

snej commented 11 years ago

Set the server's activityPollInterval to some positive number (doesn't matter what) to tell it to monitor activity.

(You haven't had to do this before because you were creating a CouchReplication, which sets that server property for you because it needs to observer activity itself.)