Skip to content

Commit

Permalink
decrease update batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed May 10, 2024
1 parent 76ead64 commit a9775e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/mutations/devices/unattended_upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def eligible_devices(chan)
.where("fbos_configs.os_auto_update" => true)
.where(ota_hour_utc: [nil, Time.now.utc.hour])
.order("RANDOM()")
.limit(200)
.limit(50)
end

def latest_version(chan)
Expand Down

0 comments on commit a9775e7

Please sign in to comment.