Django channels - update active connections -


i have setup channels update connected mobile app users. have group model owns users , iot sensors. if authenticated user connected in group, sensor update in group sent users.

if add user group after has connected server, wont updates in new group until connects again. should reconnect once groups updated? or how should done?

then second question - if user lost connectivity , in time message sent group. how ensure users connected late messages? im thinking should create table keeps log of users , messages.

i follow best practice both these questions!

thanks!


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -