cleanup inconsistencies from prod DB. Show error message on frontend in case of inconsistencies

This commit is contained in:
azivner
2017-12-14 23:21:03 -05:00
parent e1159c472d
commit 92992a3e2a
4 changed files with 30 additions and 4 deletions

View File

@@ -45,6 +45,9 @@ const messaging = (function() {
else if (message.type === 'sync-hash-check-failed') {
showError("Sync check failed!", 60000);
}
else if (message.type === 'consistency-checks-failed') {
showError("Consistency checks failed! See logs for details.", 50 * 60000);
}
}
function connectWebSocket() {