forked from Archives/Athou_commafeed
set disabledUntil to now instead of null when the error count threshold has not been reached yet
This commit is contained in:
@@ -314,7 +314,7 @@ public class FeedUtils {
|
|||||||
disabledHours = Math.min(24 * 7, disabledHours);
|
disabledHours = Math.min(24 * 7, disabledHours);
|
||||||
return DateUtils.addHours(now, disabledHours);
|
return DateUtils.addHours(now, disabledHours);
|
||||||
}
|
}
|
||||||
return null;
|
return now;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user