feat: notify page generation about changes to runs more often
modified src/adapter.rs
@@ -19,6 +19,7 @@ use crate::{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -50,11 +51,17 @@ impl Adapter {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -62,7 +69,13 @@ impl Adapter {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -74,6 +87,8 @@ impl Adapter {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -93,6 +108,7 @@ impl Adapter {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -111,6 +127,7 @@ impl Adapter {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -208,6 +225,10 @@ pub enum AdapterError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -223,6 +244,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -260,7 +282,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -280,7 +304,9 @@ echo '{"response":"finished","result":"failure"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -307,7 +333,9 @@ exit 1
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -327,7 +355,9 @@ kill -9 $BASHPID
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -351,7 +381,9 @@ kill -9 $BASHPID
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -373,7 +405,9 @@ kill -9 $BASHPID
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -394,7 +428,9 @@ echo '{"response":"finished","result":"success","bad":"field"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -417,7 +453,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -444,7 +482,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -463,7 +503,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -490,7 +532,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -521,7 +565,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/broker.rs
@@ -17,6 +17,7 @@ use crate::{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -64,7 +65,11 @@ impl Broker {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -102,7 +107,7 @@ impl Broker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -173,6 +178,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -283,7 +289,9 @@ echo '{"response":"finished","result":"success"}'
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -314,7 +322,9 @@ exit 1
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/queueproc.rs
@@ -134,7 +134,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -152,7 +152,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|