Stop logging localStorage sizes

The issue has been solved, plus we've collected enough data.
This commit is contained in:
infinite-persistence 2022-02-26 23:21:14 +08:00 committed by Thomas Zarebczan
parent 5c91d55cbc
commit 3f8dfd5b21

View file

@ -4,7 +4,6 @@ import NoopUrlStorage from 'tus-js-client/lib/noopUrlStorage';
import analytics from '../../ui/analytics'; import analytics from '../../ui/analytics';
import { X_LBRY_AUTH_TOKEN } from '../../ui/constants/token'; import { X_LBRY_AUTH_TOKEN } from '../../ui/constants/token';
import { doUpdateUploadAdd, doUpdateUploadProgress, doUpdateUploadRemove } from '../../ui/redux/actions/publish'; import { doUpdateUploadAdd, doUpdateUploadProgress, doUpdateUploadRemove } from '../../ui/redux/actions/publish';
import { getLocalStorageSummary } from '../../ui/util/storage';
import { LBRY_WEB_PUBLISH_API_V2 } from 'config'; import { LBRY_WEB_PUBLISH_API_V2 } from 'config';
const RESUMABLE_ENDPOINT = LBRY_WEB_PUBLISH_API_V2; const RESUMABLE_ENDPOINT = LBRY_WEB_PUBLISH_API_V2;
@ -99,7 +98,6 @@ export function makeResumableUploadRequest(
...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}), ...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}),
...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}), ...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}),
...(customErr ? { original: errMsg } : {}), ...(customErr ? { original: errMsg } : {}),
localStorage: getLocalStorageSummary(),
}, },
}) })
); );