dfpc-coe / CloudTAK

Full Featured in-browser TAK Client powered by AWS
GNU Affero General Public License v3.0
14 stars 2 forks source link

Server Refresh #53

Closed ingalls closed 1 year ago

ingalls commented 1 year ago

Context

If server settings are changed while the server is running via the Admin UI or Server API, the config.server value is updated and subsequent connections will use the updated server information.

However existing connections are not notified of the new settings in any way, and continue to push data to the old server configuration that has been removed from the server.

This PR adds a connection refresh function which is called on server config changes and forces a full regen of all connections.