Awesome!

Any chance that you also know how to slow down the poll frequency? it's 
shooting away a million requests to _changes right now, keeping my cpu at a 
steady 70% load.

On Monday, April 13, 2015 at 4:16:40 PM UTC+2, Traun Leyden wrote:
>
> Try this:
>
>
> https://github.com/couchbase/couchbase-lite-ios/issues/246#issuecomment-57250943
>
> Sent from my iPhone
>
> On Apr 13, 2015, at 6:15 AM, Alexander Selling <[email protected] 
> <javascript:>> wrote:
>
> Is there a way to force CBL to use long polling instead of web sockets? 
> There doesn't seem to be any fallback, when I disable web sockets in nginx 
> CBL can't sync anymore.
>
> On Monday, April 13, 2015 at 2:07:02 PM UTC+2, Alexander Selling wrote:
>>
>> Hi! 
>>
>> Ever since I upgraded to to* SG from master*(to get rid of the 'giving 
>> up' issue) I've started to get crashes (*allocate_free_list_pages() -- 
>> virtual memory exhausted*) upon full sync with the *Official CBL 1.0.4*. 
>> Do I have to run CBL from master?
>> What happens is that the web socket thread seems to be claiming memory 
>> perpetually and when it hits a couple of giga bytes the simulator crashes, 
>> I guess that'll be heavily dependent on what environment you're in.
>>
>> first part of the debug window:
>> https://slack-files.com/T03G71GP5-F04CTHE9P-d30444d0df
>>
>> second part of the debug window:
>> https://slack-files.com/T03G71GP5-F04C5A090-aea22e5cb9
>>
>> thread backtrace all:
>> http://pastebin.com/cwbipvxM
>>
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mobile-couchbase/6c4fd92a-e1e6-47b4-8a1b-3462981b77b4%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/mobile-couchbase/6c4fd92a-e1e6-47b4-8a1b-3462981b77b4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/9604601d-6c07-4270-b039-11757fc0dcec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to