fix CachedUserInfo by using a shared memory version counter

This commit is contained in:
Dietmar Maurer committed 2021-06-30 08:54:30 +02:00
1 parent cd975e5787
commit fda19dcc6f
5 files changed
+179 -4

No files matched your search

-2
View File
@@ -120,8 +120,6 @@ pub fn openid_login(
}
config.set_data(user.userid.as_str(), "user", &user)?;
user::save_config(&config)?;
// fixme: replace sleep with shared memory change notification
std::thread::sleep(std::time::Duration::new(6, 0));
} else {
bail!("user account '{}' missing, disabled or expired.", user_id);
}