filed
Job queue using FUSE
git clone git://mccd.space/filed
| Log | Files | Refs | README | LICENSE |
commit 83315dc67a531366b209548c312a8b67e498f063 parent d0992dccfc635d431446e06b65e5d5b412f3b360 Author: Marc Coquand <marc@coquand.email> Date: Tue, 16 Dec 2025 15:58:11 +0100 Fix config Diffstat:
| M | config.go | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/config.go b/config.go
@@ -88,6 +88,10 @@ func (f *ConfigFile) Write(ctx context.Context, req *fuse.WriteRequest, resp *fu
return syscall.EINVAL
}
slog.Info("FUSE: Updating config", "config", newContent)
+ if newContent.MaxJobCount > 50 {
+ slog.Warn("A max job count higher than 50 is not recommended. There might be degredations.")
+ }
+
err := f.manager.store.UpdateConfig(newContent)
if err != nil {
slog.Error("FUSE: Could not update config", "config", newContent)