Skip to content

stale decetion uses retry_interval when needed#1496

Closed
inqrphl wants to merge 5 commits intosni:masterfrom
inqrphl:fix-stale-detection-intervals
Closed

stale decetion uses retry_interval when needed#1496
inqrphl wants to merge 5 commits intosni:masterfrom
inqrphl:fix-stale-detection-intervals

Conversation

@inqrphl
Copy link
Copy Markdown
Contributor

@inqrphl inqrphl commented Apr 20, 2026

revise the stale detection warning,

  • now is visible even if there arent any dependencies.
  • displays the last checked time
  • displays additional hints about core and gearman

Ahmet Oeztuerk and others added 2 commits April 20, 2026 14:28
revise the stale detection warning,
- now is visible even if there arent any dependencies.
- displays the last checked time
- displays additional hints about core and gearman
else{
$next_planned_check = $last_check + $retry_interval;
}
my $second_next_planned_check = 0;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically did the same logic as next_planned_check, since we cannot be sure about which interval it used on the next step.

whether the next_planned_check made the state OK, not-OK , increased the current_attempt is unknown, since thruk did not hear about it.

Comment thread lib/Thruk/Controller/extinfo.pm Outdated
$next_planned_check = $last_check + $check_interval;
}
elsif ($state != 0 && $current_attempt != $max_check_attempts) {
$next_planned_check = $last_check + $check_interval;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be the retry_interval here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah actually, I confused the logic.

Comment thread lib/Thruk/Controller/extinfo.pm Outdated
@sni sni closed this Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants