Skip to content

set Heatbeat Value to changetracker from REST. #76

Description

@NitzDKoder

Hi All,

1)Phonegap app talking to CBL local WEB sever.

2)Setting _changes request Heatbeat value to random value(30 secs, 1 min, 2 mins , 5 mins).

http://developer.couchbase.com/documentation/mobile/1.1.0/develop/references/couchbase-lite/rest-api/database/get-changes/index.html

is this heatbeat value to remote cbsyncgatway or to CBL local WEB sever?

3)Seems the value set from REST is not taken and default 30 secs is taken as hearbeat value ,when requesting cbsyncgatway.

https://github.com/couchbase/couchbase-lite-java-core/search?utf8=%E2%9C%93&q=heartbeat

  1. java Replication.DEFAULT_HEARTBEAT = random value(30 secs, 1 min, 2 mins , 5 mins) Works.

5)How set Heatbeat Value to changetracker from REST/JS level?

Thanks
Nithin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions