I am developing an app using locally installed sync gateway 2.0.0 and couchbase server 5.1
So my bucket size is relatively small , I got 5800 items in my bucket (this is just a test data).
But when I call sync gateway _changes feed it sometimes takes very long time, on mobile device I got SocketTimeout exception.
Sometimes it takes 95 - 100 seconds to COMPLETE!!!
Please tell me how to increase perfomance, may be I should configure Sync Gateway somehow?
UPDATE: Found out that it happends when I add new documents to sync gateaway. What is the reason? Does it process new changes so slow or what? How to resolve this?