{"action":"created","issue":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/423","repository_url":"https://api.github.com/repos/dfahlander/Dexie.js","labels_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/423/comments","events_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/423/events","html_url":"https://github.com/dfahlander/Dexie.js/pull/423","id":197854440,"number":423,"title":"Make partials threshold configurable","user":{"login":"nponiros","id":3302134,"avatar_url":"https://avatars.githubusercontent.com/u/3302134?v=3","gravatar_id":"","url":"https://api.github.com/users/nponiros","html_url":"https://github.com/nponiros","followers_url":"https://api.github.com/users/nponiros/followers","following_url":"https://api.github.com/users/nponiros/following{/other_user}","gists_url":"https://api.github.com/users/nponiros/gists{/gist_id}","starred_url":"https://api.github.com/users/nponiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nponiros/subscriptions","organizations_url":"https://api.github.com/users/nponiros/orgs","repos_url":"https://api.github.com/users/nponiros/repos","events_url":"https://api.github.com/users/nponiros/events{/privacy}","received_events_url":"https://api.github.com/users/nponiros/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-28T13:36:00Z","updated_at":"2016-12-28T14:20:21Z","closed_at":"2016-12-28T14:20:18Z","pull_request":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/pulls/423","html_url":"https://github.com/dfahlander/Dexie.js/pull/423","diff_url":"https://github.com/dfahlander/Dexie.js/pull/423.diff","patch_url":"https://github.com/dfahlander/Dexie.js/pull/423.patch"},"body":"Until now Dexie.Syncable sent partial changes when we had more than 1000\r\nchanges. With the partialsThreshold property this can be configured\r\nduring protocol registration.\r\n\r\nOnly positive numbers are allowed and if no threshold is given, Infinity\r\nis used. We use Infinity so that simple server implementations of the\r\nprotocol don't have to care about partial changes.\r\nIf partialsThreshold is 0, Dexie.Syncable will send no changes but will\r\nalways set partial to true. This can be used to only get server changes\r\nand ignore any client changes.\r\n\r\nCloses https://github.com/dfahlander/Dexie.js/issues/410"},"comment":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/comments/269483076","html_url":"https://github.com/dfahlander/Dexie.js/pull/423#issuecomment-269483076","issue_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/423","id":269483076,"user":{"login":"dfahlander","id":6791329,"avatar_url":"https://avatars.githubusercontent.com/u/6791329?v=3","gravatar_id":"","url":"https://api.github.com/users/dfahlander","html_url":"https://github.com/dfahlander","followers_url":"https://api.github.com/users/dfahlander/followers","following_url":"https://api.github.com/users/dfahlander/following{/other_user}","gists_url":"https://api.github.com/users/dfahlander/gists{/gist_id}","starred_url":"https://api.github.com/users/dfahlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfahlander/subscriptions","organizations_url":"https://api.github.com/users/dfahlander/orgs","repos_url":"https://api.github.com/users/dfahlander/repos","events_url":"https://api.github.com/users/dfahlander/events{/privacy}","received_events_url":"https://api.github.com/users/dfahlander/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T14:20:21Z","updated_at":"2016-12-28T14:20:21Z","body":"Perfect. I've updated the wiki at https://github.com/dfahlander/Dexie.js/wiki/Dexie.Syncable.ISyncProtocol"}}
{"actor":{"display_login":"dfahlander"}}