-- or so i thought, but they should in effect be exactly the same? Either way on breadpirates.chat i noticed startup going from a 10seconds to ~1minute after this change, which is about as long as it takes without the backing store... so not sure what is going on.
The difference between main and v2.0.0-beta.2 looks like this:
At startup we changed the code in MPS to load rooms from the backing store all at once rather than one by one
https://github.com/Gnuxie/matrix-protection-suite/blob/6ae7c8ce8226cb18eea941345d9907d62aa75b5d/src/Protection/ProtectedRoomsManager/StandardProtectedRoomsManager.ts#L103
https://github.com/Gnuxie/matrix-protection-suite/blob/c3e574a1f7740e5c8057fbf43e9c98d9bd32e640/src/StateTracking/StandardSetRoomState.ts#L50-L52
-- or so i thought, but they should in effect be exactly the same? Either way on breadpirates.chat i noticed startup going from a 10seconds to ~1minute after this change, which is about as long as it takes without the backing store... so not sure what is going on.
The difference between![image](https://github.com/the-draupnir-project/Draupnir/assets/50846879/5edf5045-5201-4c25-a638-c97ea1c52e6d)
main
andv2.0.0-beta.2
looks like this:I suspect that the loading code is a red herring, and in reality the changes are due to changes to typebox and the schema in the same release of MPS