Serveur Rust : comptes, clés d'API, Paramètres, réglages de synchro, journaux

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LG2LLJuswrrTTPKJmunEVf
This commit is contained in:
Claude committed 2026-10-12 19:02:08 +00:00
1 parent 559e6ed714
commit a878270081
10 files changed
+717 -7

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ where
Fut: Future<Output = anyhow::Result<T>> + Send + 'static,
{
let pending = {
let mut store = STORE.lock();
let store = STORE.lock();
match store.map.get(key) {
Some(Entry::Ready { value, expires_at, .. }) if *expires_at > Instant::now() => {
if let Some(v) = value.downcast_ref::<T>() {