Check for existence of Timerclient before creating a new entry
burmudar opened this issue · 0 comments
burmudar commented
When a websocket client connects a TimerClient is immediately registered. This is naturally not ideal as the client might have previously connected and already have a entry in the DB.
The flow should be:
- Websocket client connects
- Server asks client to identify itself with a UUID
- Check UUID
- Confirm existence of client and send related configs to client.
The above flow can be implemented with a FSM