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

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

No files matched your search

+2
View File
@@ -505,6 +505,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]