Change: Use seconds for Linkgraph update settings (#10610)

This commit is contained in:
Tyler Trahan
2023-04-14 16:49:12 -04:00
committed by GitHub
parent 0e915c830c
commit 646a7e625b
8 changed files with 37 additions and 22 deletions

View File

@@ -30,6 +30,8 @@ static const int DAYS_IN_YEAR = 365; ///< days per year
static const int DAYS_IN_LEAP_YEAR = 366; ///< sometimes, you need one day more...
static const int MONTHS_IN_YEAR = 12; ///< months per year
static const int SECONDS_PER_DAY = 2; ///< approximate seconds per day, not for precise calculations
static const int STATION_RATING_TICKS = 185; ///< cycle duration for updating station rating
static const int STATION_ACCEPTANCE_TICKS = 250; ///< cycle duration for updating station acceptance
static const int STATION_LINKGRAPH_TICKS = 504; ///< cycle duration for cleaning dead links