Skip to content

Commit

Permalink
LG-14830 | Adds MT DMV maintenance window (#11426)
Browse files Browse the repository at this point in the history
* LG-14830 | Adds MT DMV maintenance window

changelog: Internal, AAMVA, Update Montana's maintenance window
  • Loading branch information
n1zyy authored Oct 30, 2024
1 parent 008e428 commit 1059bd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/services/idv/aamva_state_maintenance_window.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

module Idv
class AamvaStateMaintenanceWindow
# _All_ AAMVA maintenance windows are expressed in 'ET' (LG-14028)
# All AAMVA maintenance windows are expressed in 'ET' (LG-14028),
# except Montana's which we converted here from MST to ET.
TZ = 'America/New_York'

MAINTENANCE_WINDOWS = {
Expand Down Expand Up @@ -80,6 +81,11 @@ class AamvaStateMaintenanceWindow
# ...and 5 am to 5:45 am ET on 2nd Sunday of month.
{ cron: '0 5 * * Sun#2', duration_minutes: 45 },
],
'MT' => [
# Monthly maintenance occurs first Sunday of each month
# from 12:00 am to 6:00 am (Mountain Time zone).
{ cron: '0 2 * * Sun#1', duration_minutes: 6 * 60 },
],
'NC' => [
# Daily, Midnight to 7:00 am. ET.
{ cron: '0 0 * * *', duration_minutes: 7 * 60 },
Expand Down

0 comments on commit 1059bd2

Please sign in to comment.