(fix) correctly block if fail count is within interval (fixes #2850)

This commit is contained in:
Ludovic Marcotte committed 2016-12-14 21:21:20 -05:00
1 parent c7c5046cfb
commit b0c355a36c
2 files changed
+10 -6

No files matched your search

+2
View File
@@ -515,6 +515,8 @@ static memcached_st *handle = NULL;
{
[d setObject: [NSNumber numberWithUnsignedInt: [[NSCalendarDate date] timeIntervalSince1970]] forKey: @"InitialDate"];
}
[d setObject: [NSNumber numberWithUnsignedInt: [[NSCalendarDate date] timeIntervalSince1970]] forKey: @"LastRequestDate"];
[d setObject: count forKey: @"FailedCount"];
[self _cacheValues: [d jsonRepresentation]