Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
refactor: store timeout in receiver, separate event/run senders
Merged liw opened 1 year ago

Add new NotificationChannel constructors, for different kinds of channels. Store the receive timeout in the receiver; it depends on kind of channel.

Also add methods to send and receive notifications to senders and receivers. This hides the std::sync::mpsc machinery better, and makes the types easier to use.

Signed-off-by: Lars Wirzenius liw@liw.fi

feat: notify page generation about changes to runs more often

Change src/adapter.rs to send notification via the run notification channel when the adapter is spawned, and when the adapter sends a “triggered” message.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw opened with revision 6625aba9 on base d537fd39 +145 -44 1 year ago

Add new NotificationChannel constructors, for different kinds of channels. Store the receive timeout in the receiver; it depends on kind of channel.

Also add methods to send and receive notifications to senders and receivers. This hides the std::sync::mpsc machinery better, and makes the types easier to use.

Signed-off-by: Lars Wirzenius liw@liw.fi

feat: notify page generation about changes to runs more often

Change src/adapter.rs to send notification via the run notification channel when the adapter is spawned, and when the adapter sends a “triggered” message.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw merged revision 6625aba9 at 0f90e97a 1 year ago