Closed surilindur closed 1 year ago
@RubenEschauzier, can you confirm if this change solves the problem on your end as well? If so, I'll merge this PR and make a new release.
Pinging @joachimvh here as well to check if this is the proper way forward for the read-only usage of a CSS instance.
Totals | |
---|---|
Change from base Build 4594941926: | 0.0% |
Covered Lines: | 116 |
Relevant Lines: | 116 |
This is the correct way to disable the locking mechanism, which should indeed be fine if you're only reading the data from the server.
If you're using the server in a multithreaded setup, the timeouts are probably by a bug that was fixed in v6: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1610. But if you're only reading data just disabling the locker is probably the better solution anyway as it will improve performance.
This indeed solves the problems on my end too.
Thanks for checking! Preparing a new release now.
When serving the generated dataset, the Community Solid Server sometimes outputs errors like:
These seem to be related to locks expiring, but when data is being served within SolidBench, it is intended for read-only purposes and should not need locks. The configuration change in this pull request makes the SolidBench server configuration use a locker for the server that does not actually do anything, removing those lock errors. Maybe this is not the best solution, but it seems to work.