diff --git a/README.md b/README.md index 3b0589c..8f28a2c 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ This is the Desktop Sync client for [bewCloud](https://github.com/bewcloud/bewcl Usernames, passwords, and sync is all handled by `rclone`. The connection to a bewCloud instance happens via HTTP and a remote via WebDav is created in `rclone`. -The app runs `rclone bisync` every minute, or when it's forced to do so. +The app runs `rclone bisync` every five minutes, or when it's forced to do so. -If you're looking for the mobile app, it's not built yet. +If you're looking for the mobile app, it's at [`bewcloud-mobile`](https://github.com/bewcloud/bewcloud-mobile). ## Install diff --git a/package.json b/package.json index d4ad2bf..e39d156 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bewcloud-sync", "private": true, - "version": "0.0.2", + "version": "0.0.3", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 53f0ae5..26286b5 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -271,7 +271,7 @@ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "bewcloud-sync" -version = "0.0.2" +version = "0.0.3" dependencies = [ "async-std", "chrono", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 1aec1cd..9fc3c47 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bewcloud-sync" -version = "0.0.2" +version = "0.0.3" description = "Desktop Sync Client for bewCloud" authors = ["Bruno Bernardino"] edition = "2021" diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 4e4f9a9..e26a3c7 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -69,7 +69,7 @@ fn run_sync(app: AppHandle) { return; } - let one_minute = time::Duration::from_secs(60); + let five_minutes = time::Duration::from_secs(300); tauri::async_runtime::spawn(async move { loop { @@ -90,7 +90,7 @@ fn run_sync(app: AppHandle) { )) .unwrap(); - thread::sleep(one_minute); + thread::sleep(five_minutes); } }); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f1d237e..1e6433e 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,7 +7,7 @@ }, "package": { "productName": "bewCloud Desktop Sync", - "version": "0.0.2" + "version": "0.0.3" }, "tauri": { "allowlist": {