uboot: increase flashing timeout to 180s
Mainly for spi-nor flash, requires more time to complete. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
@@ -20,18 +20,8 @@
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
},
|
||||
timeout: 30000
|
||||
timeout: 180000
|
||||
})
|
||||
|
||||
ajax('/result', function(response) {
|
||||
if (response == 'failed') {
|
||||
location = '/fail.html'
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
}, 30000)
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
},
|
||||
timeout: 30000
|
||||
timeout: 1800000
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user