aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-06 07:37:58 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-06 07:37:58 -0400
commitca02ec8ca2b24ae7997de80b662cfd3635d75e9e (patch)
tree4966b40ae3965f54e2fbc674d47737f8f911f5fc
parent1da46a8e36bd881c7c3de5d5f53c33bf1035e908 (diff)
downloadrbw-ca02ec8ca2b24ae7997de80b662cfd3635d75e9e.tar.gz
rbw-ca02ec8ca2b24ae7997de80b662cfd3635d75e9e.zip
todo
-rw-r--r--src/bin/agent.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/agent.rs b/src/bin/agent.rs
index 7c08216..b83243e 100644
--- a/src/bin/agent.rs
+++ b/src/bin/agent.rs
@@ -18,6 +18,9 @@ enum Action {
Unlock,
Sync,
Decrypt { cipherstring: String },
+ // add
+ // update
+ // remove
}
fn make_pidfile() -> std::fs::File {
@@ -165,7 +168,7 @@ impl Agent {
fn new() -> Self {
Self {
timeout: tokio::time::delay_for(
- tokio::time::Duration::from_secs(600),
+ tokio::time::Duration::from_secs(600), // read from config
),
state: std::sync::Arc::new(tokio::sync::RwLock::new(State {
access_token: None,