luci-base: set the fallback default of rollback timeout to 90s
authorHannu Nyman <hannu.nyman@iki.fi>
Mon, 26 Oct 2020 20:26:08 +0000 (22:26 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 26 Oct 2020 20:26:08 +0000 (22:26 +0200)
commit5352f8d70f5a9de427f28aeb20066ff8a5d572ee
tree76a4345d49ab641f8b632b7cd4b4d0ee94801bbc
parent3d5201928e0afbe77917cc47bfc9b652d0a4135d
luci-base: set the fallback default of rollback timeout to 90s

Set the fallback value of the config change rollback timeout
to 90 seconds to match the change in /etc/config/luci by commit
81cf99a50.

That commit changed the value in the config file, but did
not change the underlying fallback values that do get applied
when there is no proper config item in etc/config/luci.

Users sysupgrading from old systems may have carried an ancient
/etc/config/luci (without rollback config) with them, so this
change should help them to see the intended user experience.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b0fe11ffc4921c606b78ceb9756cc44579689005)
modules/luci-base/luasrc/model/uci.lua
modules/luci-base/luasrc/view/header.htm