Replaced date time pickers with another compoent to better choose time. BOD-122
This commit is contained in:
@@ -111,7 +111,7 @@ export function* setInstanceIdSaga({ payload: uid }) {
|
||||
});
|
||||
|
||||
yield put(setLocalFingerprint(fingerprint));
|
||||
yield delay(5000);
|
||||
yield delay(5 * 60 * 1000);
|
||||
yield put(checkInstanceId(uid));
|
||||
} catch (error) {
|
||||
console.log("error", error);
|
||||
@@ -131,7 +131,7 @@ export function* checkInstanceIdSaga({ payload: uid }) {
|
||||
let fingerprint = yield select((state) => state.user.fingerprint);
|
||||
|
||||
if (snapshot.data().fingerprint === fingerprint) {
|
||||
yield delay(30000);
|
||||
yield delay(5 * 60 * 1000);
|
||||
yield put(checkInstanceId(uid));
|
||||
} else {
|
||||
console.log("ERROR: Fingerprints do not match. Conflict detected.");
|
||||
|
||||
Reference in New Issue
Block a user