Dan's issue https://github.com/metauni/metaboard/issues/20 brought up that boards were saving upon game shutdown synchronously, so they were changed to save asynchronously instead. There is still a relationship between more boards and longer save times (I was getting shutdown times of about 10 seconds with 27 boards). Boards won't save anymore unless a change was made to them, since otherwise there are unnecessary requests to save being made. This should also cut down on save time.
Boards now load asynchronously too which is very noticeable, and are locked for editing until they've successfuly loaded.
Dan's issue https://github.com/metauni/metaboard/issues/20 brought up that boards were saving upon game shutdown synchronously, so they were changed to save asynchronously instead. There is still a relationship between more boards and longer save times (I was getting shutdown times of about 10 seconds with 27 boards). Boards won't save anymore unless a change was made to them, since otherwise there are unnecessary requests to save being made. This should also cut down on save time.
Boards now load asynchronously too which is very noticeable, and are locked for editing until they've successfuly loaded.