20 minutes instead of 10
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ func (s *Server) handleSettingsSave(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
s.mu.Lock()
|
||||
// Web-only POC: settings edits stay in memory only and are reset with the
|
||||
// rest of the POC state every 10 minutes. config.json is never rewritten.
|
||||
// rest of the POC state every 20 minutes. config.json is never rewritten.
|
||||
s.Cfg.CompanyName = r.FormValue("company_name")
|
||||
s.Cfg.CompanyAddress = r.FormValue("company_address")
|
||||
s.Cfg.CompanyPhone = r.FormValue("company_phone")
|
||||
|
||||
Reference in New Issue
Block a user