sinoptik/src
Paul van Tilburg 9b9b1a5f77
Refactor so that no static is necessary for the maps cache
* Replace the lazy `once_cell` by a maps handle type
* Use Rocket's managed state to manage a handle
* Ensure that the handlers have access to it
* Pass another handle to the maps updater loop
* Try to keep the lock as short as possible

Still, long downloads block the lock. Add a FIXME to refactor this
so the lock is only taken when updating the maps fields.
2022-02-12 21:35:58 +01:00
..
main.rs Refactor so that no static is necessary for the maps cache 2022-02-12 21:35:58 +01:00
maps.rs Refactor so that no static is necessary for the maps cache 2022-02-12 21:35:58 +01:00