Error in Unity Accelerator when specifying Disk Space Usage as “Bytes available to use”

When specifying disk usage in “available bytes”, the following error occurs on the log screen and cannot be specified.
(I keep pressing the Save button and it keeps going.)

  {
    "level": "error",
    "ts": "2024-10-01T16:52:26.420+0900",
    "msg": "Unmarshal error",
    "agent_id": "xxxxx",
    "agent_name": "xxxxx",
    "component": "httpservice",
    "subprocess_id": 8,
    "error": "json: cannot unmarshal number 9.9 into Go struct field Config.CacheMaxUsedBytes of type int"
  }

Accelerator Version v1.0.941+g6b39b61

1 Like

The page has been broken for quite some time. (Issue seems to be due to sending the slider percentages instead of a calculated size) Interestingly, the Docker version seems to have gotten a few updates since the last platform-specific desktop releases. You should be able to use the Unity-Accelerator tags for this post. Here’s to hoping this gets attention.

You can set values in unity-accelerator.cfg manually (or with unity-accelerator config set <key> <value> in the directory of the config file). A staff member posted some other relevant options here (they can also be viewed with unity-accelerator config help).

1 Like

Thanks for the info!
I tried to edit the tags, but apparently I can’t edit the very first one…

1 Like