We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57bf459 commit dc4c7beCopy full SHA for dc4c7be
app/lib/search/backend.dart
@@ -117,7 +117,9 @@ class SearchBackend {
117
} catch (e, st) {
118
_logger.pubNoticeShout(
119
'snapshot-building', 'Snapshot update failed.', e, st);
120
- // Force waiting at least an hour before we rethrow the exception
+ // Force waiting at least an hour before we rethrow the exception,
121
+ // otherwise we could get into a reboot loop that doesn't get much
122
+ // real work done on the other tasks.
123
final elapsed = clock.now().difference(started);
124
if (elapsed < Duration(hours: 1)) {
125
_logger.warning('Waiting before rethrowing exception.', e, st);
0 commit comments