update-device-vars: Add a sleep to avoid 429: Too Many Requests

Change-Id: Ib4a382cb4b1af025b401e54b07d69414c419f4cf
This commit is contained in:
Chirayu Desai
2022-12-06 00:34:03 +05:30
committed by Michael Bestas
parent 349e17ad16
commit aacffc67d6

View File

@@ -81,6 +81,7 @@ main() {
sed -i "/ ota_sha256=/c\readonly ota_sha256=\"$new_ota_sha256\"" "${dv}"
sed -i "/ security_patch=/c\readonly security_patch=\"$new_security_patch\"" "${dv}"
)
sleep 10s
done
}