node: Database read/write optimizations
See commits.
6 files changed
+66
-23
25c6660a
→
cadd996a
modified radicle-cli/examples/rad-config.md
@@ -26,6 +26,9 @@ $ rad config
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api/v1/profile.rs
@@ -89,6 +89,7 @@ mod routes {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/runtime.rs
@@ -156,7 +156,7 @@ impl Runtime {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/config.rs
@@ -7,7 +7,7 @@ use localtime::LocalDuration;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -260,6 +260,14 @@ pub enum TorConfig {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -279,6 +287,9 @@ pub struct Config {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -321,6 +332,7 @@ impl Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/node/db.rs
@@ -40,6 +40,19 @@ pub enum Error {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -93,6 +106,19 @@ impl Database {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/routing.rs
@@ -109,28 +109,29 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|