Skip to content
Snippets Groups Projects
Closed (moved) Document magic numbers at entry_is_time_to_retry()
  • View options
  • Document magic numbers at entry_is_time_to_retry()

  • View options
  • Closed (moved) Issue created by George Kadianakis
     if (diff < 6*60*60)
        return now > (e->last_attempted + 60*60);
      else if (diff < 3*24*60*60)
        return now > (e->last_attempted + 4*60*60);
      else if (diff < 7*24*60*60)
        return now > (e->last_attempted + 18*60*60);
      else
        return now > (e->last_attempted + 36*60*60);
    }

    This is our entry guard retry logic. We should probably document these numbers, so that they look less magic.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading