Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info.

This commit is contained in:
Lea Anthony
2023-12-29 12:48:26 +11:00
parent 7f8c1c8a68
commit 9f567fe2bc
11 changed files with 56 additions and 74 deletions
@@ -11,6 +11,7 @@ const (
var systemMethodNames = map[int]string{
SystemIsDarkMode: "IsDarkMode",
Environment: "Environment",
}
func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWriter, r *http.Request, window Window, params QueryParams) {
@@ -24,6 +25,6 @@ func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWrite
m.httpError(rw, "Unknown system method: %d", method)
}
m.Info("Runtime:", "method", "System."+systemMethodNames[method])
m.Info("Runtime Call:", "method", "System."+systemMethodNames[method])
}