JavaScript error when changing Disk Space Usage


I’ve just installed Accelerator version v1.0.909+g1e7dfa1 on Windows 10 and when trying to change the default value of Disk Space Usage the progress spinner is showed indefinitely, and the above error is in the console.

3 Likes

I do confirm this is still happening at v1.0.925+g55e634a

As a workaround, Data Policy settings can be configured through CLI, for example to set max bytes:
./unity-accelerator config set CacheMaxUsedBytes 25000000000

(use unity-accelerator config help to get all commands list)

1 Like

We just had this issue, and managed to change it by manually editing unity-accelerator.cfg.

I’ve reduced the max disk usage to a much smaller level than what’s currently in use, but it doesn’t seem to do any sort of automatic purge of old cached data to reduce usage to the new limit.

What’s the easiest way to do this? We don’t want to delete all the cached data because that’d cause a massive slowdown in automated builds and other teammates until the cache gets repopulated.

I can’t change disk space usage either, in the dashboard it keep resetting to its own settings. I just want it to use max % of the local drive or a set amount of GB and have it purge excessive amount. Is it really so hard to do?

2 Likes

Even when we manage to set the limits (by manually editing the config file), it doesn’t seem to respect the limit either:

7694620--963118--upload_2021-11-29_9-21-19.png