-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subman API #561
base: master
Are you sure you want to change the base?
subman API #561
Conversation
I bet we could make the |
I'm missing the outer flow on outbox ... is this right?:
OutboxRelays means "make sure we have at least one of these in our active set" |
It might be useful to have a |
liking the sounds of this so far! |
6edfa9c
to
a2f9e6c
Compare
Is the second commit a good thing? I used an Arc<Mutex> to calm rust re: the SubMgr reference issues ... |
e469fe3
to
c5969bf
Compare
c5969bf
to
e92e6ca
Compare
e92e6ca
to
084bd54
Compare
ea0425e
to
c769a6e
Compare
Renamed to subman |
d503afa
to
cd41b1c
Compare
b9ca1ef
to
bd9060c
Compare
2ecde85
to
9e15e5a
Compare
9e15e5a
to
e730b14
Compare
e730b14
to
76bfe3e
Compare
rebased on master |
not sure what these errors mean: |
good catch, that is not really an error, changed it to: match rsub.rx_ended.next().await {
- Some(_) => Err(SubError::StreamEnded),
- None => Err(SubError::InternalError(
- "trouble reading from rx_ended".to_string(),
- )),
+ // in both cases the stream has ended
+ Some(_) => Err(SubError::StreamEnded), // an EOSE was observed
+ None => Err(SubError::StreamEnded), // the subscription was closed
} |
76bfe3e
to
c6266b2
Compare
@jb55 i added some error handling and relay pool handling improvements in the last three commits |
af67060
to
fd0882c
Compare
rebased on master |
Consider changing the actual update of the Muted struct to polled instead of synchronized.
This eliminates trash when a relay is closed and then reopened. This also is much less chaotic ...
fd0882c
to
ee004ec
Compare
rebased on master |
No description provided.