You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
remove incredibly verbose start/complete sync logging
This commit is contained in:
@@ -553,14 +553,14 @@ SyncApi.prototype._sync = function(syncOptions) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isCachedResponse) {
|
if (!isCachedResponse) {
|
||||||
debuglog('Starting sync since=' + syncToken);
|
//debuglog('Starting sync since=' + syncToken);
|
||||||
this._currentSyncRequest = client._http.authedRequest(
|
this._currentSyncRequest = client._http.authedRequest(
|
||||||
undefined, "GET", "/sync", qps, undefined, clientSideTimeoutMs,
|
undefined, "GET", "/sync", qps, undefined, clientSideTimeoutMs,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this._currentSyncRequest.done(function(data) {
|
this._currentSyncRequest.done(function(data) {
|
||||||
debuglog('Completed sync, next_batch=' + data.next_batch);
|
//debuglog('Completed sync, next_batch=' + data.next_batch);
|
||||||
|
|
||||||
// set the sync token NOW *before* processing the events. We do this so
|
// set the sync token NOW *before* processing the events. We do this so
|
||||||
// if something barfs on an event we can skip it rather than constantly
|
// if something barfs on an event we can skip it rather than constantly
|
||||||
|
|||||||
Reference in New Issue
Block a user