#Manually reconnect shard

1 messages · Page 1 of 1 (latest)

runic swallow
#

Hey all, I mentioned this earlier, but I'm still unsure how to do this.
What I'm trying to do is manually force a reconnect a given shard without a resume.
I've found that you can send a Message::Close event, but handle_close doesn't handle anything which would return a non-fatal, reconnectable error. If there were some way of say emitting ReceivingEventErrorType::Decompressing or some custom one, this works. (I tested with a local fork, but I don't like the idea of it really)

However, this feels a little hacky. Does anyone have any other suggestions for how I could force a shard to reconnect with an identify?

restive sierra
#

I believe that currently we do not have any inbuild way to do that.
What are you trying to do btw?

runic swallow
#

I want to reconnect a shard, let me link to the previous discussion: #library-support-deprecated message

restive sierra
#

Well that hasn't changed as of now

runic swallow
#

I was wanting to know if there was something you could do manually to get it to reconnect

restive sierra
#

I don't believe so