recordFailure method
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);
}