I have made some additions to the luci backup / restore script , dramatically increasing execution time resulting in page time-outs during backup / restore.
What is the best approach to deal with this?
a) Some sorta page keep-alive?, progress bar? best way to implement?
or
b) Increase script time-out for "cgi-bin/luci/admin/system/flashops" page. How do this for nginx?
if you are using luci on nginx then you need to increase time out for uwsgi
IMHO not a solution...
A good way would be to execute the thing in the background (outside the webui) and ajax every 500ms for the progress (a simple in progress or completed/idle should be sufficent)
Hoping you (nginx pro) would answer. Agree that global uwsgi time-out problematic. Suggestions re best example package to snag the ajax poll code from?
Here's what I am working on: www.rossco.org (entire site: running in openwrt x86_64)