reduce in-view timeout to 1s

This commit is contained in:
Bruno Windels 2018-12-12 10:48:28 +01:00
parent 8045009d81
commit f49e8b0bda

View file

@ -37,7 +37,7 @@ import Timer from '../../utils/Timer';
const PAGINATE_SIZE = 20;
const INITIAL_SIZE = 20;
const READ_MARKER_INVIEW_THRESHOLD_MS = 10 * 1000;
const READ_MARKER_INVIEW_THRESHOLD_MS = 1 * 1000;
const READ_MARKER_OUTOFVIEW_THRESHOLD_MS = 30 * 1000;
const READ_RECEIPT_INTERVAL_MS = 500;