mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-23 23:55:47 +00:00
Various issues in Jetty v9.4.22 (and some later versions too) cause websockets to use up all available threads. Bumped Jetty to v9.4.29 to resolve some of these issues. Changed some Qortal-side websocket code to minimize locking on websocket notifiers. Websocket messages now sent async, although the returned Futures are discarded, as it's up to the remote end to consume fast enough. Changed Controller to only request a SysTray update before synchronization if there's a chance node might change height. Similarly, Controller only requests SysTray update after synchronization if chain tip has actually changed. Both of the above together should reduce the number of messages sent out via the admin status websockets.