/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
/// whether all kids are hopeless
bool allHopeless() const;
+ /// forgets all failures in all kids
+ void forgetAllFailures();
+
+ /// forgets all failures in hopeless kids that were dead for a long time
+ /// \returns seconds till the next check (zero if there are no hopeless kids left)
+ time_t forgetOldFailures();
+
/// whether all kids called exited happy
bool allExitedHappy() const;