diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-06 07:37:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-06 07:37:58 -0400 |
commit | ca02ec8ca2b24ae7997de80b662cfd3635d75e9e (patch) | |
tree | 4966b40ae3965f54e2fbc674d47737f8f911f5fc | |
parent | 1da46a8e36bd881c7c3de5d5f53c33bf1035e908 (diff) | |
download | rbw-ca02ec8ca2b24ae7997de80b662cfd3635d75e9e.tar.gz rbw-ca02ec8ca2b24ae7997de80b662cfd3635d75e9e.zip |
todo
-rw-r--r-- | src/bin/agent.rs | 5 |
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, |