feat: add TTLCache for get_cache_version and TEMPLATE_AUTO_RELOAD config with Makefile worker count variables

This commit is contained in:
2026-06-14 14:46:36 +00:00
parent c151325916
commit d75d5dc6a8
149 changed files with 9811 additions and 262 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import { Toast } from "./Toast.js";
export class OptimisticAction {
async submit(url, params, errorTarget, render) {
try {
const result = await Http.sendForm(url, params);
const result = await Http.sendForm(url, params, { silent: true });
if (render) render(result);
return result;
} catch (error) {
@@ -19,7 +19,7 @@ export class OptimisticAction {
async submitOptimistic(url, params, errorTarget, apply, revert, reconcile) {
apply();
try {
const result = await Http.sendForm(url, params);
const result = await Http.sendForm(url, params, { silent: true });
if (reconcile) reconcile(result);
return result;
} catch (error) {