Rename cache to use yet another
Dependencies
- [2]
5UYVIBUMUpdate game password from page - [3]
WLWTNO4YCreate form to request game password change link - [4]
65A3LIWUUse handlebars to render index - [5]
HTYEGVBUAdd data to reset password page - [6]
ZE5UFPX4Add TTL cache for CSRF - [7]
3HT5CE6SManage TTL duration in config - [8]
HZDCKIXQUse constants for templates - [9]
WW3KRXX6Add page for reset game password - [10]
CMA5SKJ3Copy turns Atom generator - [11]
WVHXYKCVAdd postgresql pools - [*]
EVP2FSBHSplit index page - [*]
4MZ4VIR7Initial commit
Change contents
- replacement in src/pages/reset_game_pwd.rs at line 71
let mut cache = data.cache.lock().await;let mut cache = data.cache_reset_game_pwd.lock().await; - replacement in src/pages/reset_game_pwd.rs at line 102
let mut cache = data.cache.lock().await;let mut cache = data.cache_reset_game_pwd.lock().await; - replacement in src/pages/query_reset_game_pwd.rs at line 41
form: web::Form<FormData>,data: web::Data<WebData<'_>>,_form: web::Form<FormData>,_data: web::Data<WebData<'_>>, - replacement in src/pages/mod.rs at line 29
pub cache: Mutex<TtlCache<Uuid, (Uuid, String)>>,pub cache_reset_game_pwd: Mutex<TtlCache<Uuid, (Uuid, String)>>, - replacement in src/main.rs at line 114
cache: tokio::sync::Mutex::new(ttl_cache::TtlCache::new(cache_capacity)),cache_reset_game_pwd: tokio::sync::Mutex::new(ttl_cache::TtlCache::new(cache_capacity)),