Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Apr 4, 2019

Upon startup the signature manager needs to fetch/generate a signing key and use it, then, when it comes to the step of using it, it does so by sending a message to itself (via public set_key function), problem is that this future is blocked with .wait meaning the actor is not able to process any incoming message until the future resolves, but it can't resolve because it waiting for the actor to accept the SetKey message.

Logs

Now we can see that the signature manager indeed receives the key and it is ready to sign.

image

Upon startup the signature manager needs to fetch/generate a signing
key and use it, then, when it comes to the step of using it, it does
so by sending a message to itself (via public set_key function),
problem is that this future is blocked with `.wait` meaning the actor
is not able to process any incoming message until the future resolves,
but it can't resolve because it waiting for the actor to accept the
SetKey message.
@tmpolaczyk tmpolaczyk merged commit ddc4557 into tmpolaczyk:signatures-demo Apr 4, 2019
@ghost ghost deleted the signatures-demo branch April 4, 2019 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant