recordFailure method

Future<void> recordFailure({
  1. required String account,
  2. required String source,
})

Implementation

Future<void> recordFailure({
  required String account,
  required String source,
}) async {
  final now = _clock();
  await store.record(_accountKey(account), now, keepFor: perAccount.window);
  await store.record(_sourceKey(source), now, keepFor: perSource.window);
}