fix: highly improved GUI performance

This commit is contained in:
2026-01-02 03:59:05 +03:00
parent c5086189d6
commit a7af1caace
3 changed files with 39 additions and 13 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ pub async fn wait_for_daemon() -> Result<(), Box<dyn Error>> {
Ok(())
}
pub async fn make_request(request: Request) -> Result<Response, Box<dyn Error>> {
pub async fn make_request(request: Request) -> Result<Response, Box<dyn Error + Send + Sync>> {
let socket_path = get_runtime_dir().join("daemon.sock");
let mut stream = UnixStream::connect(socket_path).await?;