Fix pinning via `rad config` requiring restart of httpd
Node config was only previously loaded on process start.
This is a clumsy refresh mechanism that ensures httpd
can be left running after a rad config action.
2 files changed
+21
-3
ebe4e426
→
8ce13844
modified radicle-httpd/src/api/v1/delegates.rs
@@ -5,6 +5,7 @@ use axum::{Json, Router};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,7 +33,15 @@ async fn delegates_repos_handler(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api/v1/repos.rs
@@ -15,6 +15,7 @@ use radicle::cob::{issue::cache::Issues as _, patch::cache::Patches as _};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -61,12 +62,20 @@ async fn repo_root_handler(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|