feat(redis): improve key detail auto-refresh and TTL polling

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-31 02:41:26 +08:00
1 parent a662d12f57
commit c697d0c7ad
15 files changed
+540 -106

No files matched your search

+10
View File
@@ -87,6 +87,16 @@ pub async fn redis_get_value(
dbx_core::redis_ops::redis_get_value_in_db_core(&state, &connection_id, db, &key_raw).await
}
#[tauri::command]
pub async fn redis_get_ttl(
state: State<'_, Arc<AppState>>,
connection_id: String,
db: u32,
key_raw: String,
) -> Result<i64, String> {
dbx_core::redis_ops::redis_get_ttl_in_db_core(&state, &connection_id, db, &key_raw).await
}
#[tauri::command]
pub async fn redis_get_stream_entries(
state: State<'_, Arc<AppState>>,