Check if a user is logged in. Keep track of running auth and don't start it if it's already running.
Depends on D10830
Differential D10831
[lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated tomek on Jan 26 2024, 5:01 AM. Authored by Tags None Referenced Files
Details Check if a user is logged in. Keep track of running auth and don't start it if it's already running. Depends on D10830 Add a sleep to the auth effect and some logs to its start and finish. Also make sure that store contains a keyserver to which we aren't authenticated.
Diff Detail
Event Timeline
Comment Actions Decided that it is a lot more efficient to introduce a new diff which introduces canceling the auth D10884.
According to @marcin's comment, it seems like we should be able to use an older session, but that might require some work - created https://linear.app/comm/issue/ENG-6637/make-sure-that-we-dont-immediately-throw-away-a-notif-session-during to track
Created https://linear.app/comm/issue/ENG-6638/introduce-content-session-creation-using-socket to track |