forked from paul/sinoptik
Paul van Tilburg
9b9b1a5f77
* 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. |
||
---|---|---|
.. | ||
main.rs | ||
maps.rs |