-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: create & delete sync sessions over gRPC #119
Conversation
c11bc07
to
1cac28d
Compare
84e4daa
to
4581c1e
Compare
1cac28d
to
015cd0c
Compare
4581c1e
to
7ca5e28
Compare
015cd0c
to
6a40c66
Compare
7ca5e28
to
2b848e9
Compare
6a40c66
to
257499f
Compare
2b848e9
to
94f7e77
Compare
257499f
to
12fa59f
Compare
94f7e77
to
e6b0bc3
Compare
12fa59f
to
af6ba71
Compare
e6b0bc3
to
080528a
Compare
af6ba71
to
ae06ba2
Compare
c215f63
to
a27014a
Compare
@@ -162,7 +168,7 @@ public class MutagenDaemon: FileSyncDaemon { | |||
// Already connected | |||
return | |||
} | |||
group = MultiThreadedEventLoopGroup(numberOfThreads: 1) | |||
group = MultiThreadedEventLoopGroup(numberOfThreads: 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We always have two outgoing gRPC requests at once, the prompter, and the actual request we're trying to make. This creates a second OS thread for gRPC to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh 2 os threads might be overkill
ae06ba2
to
68dae7d
Compare
a27014a
to
126e84f
Compare
68dae7d
to
c7018ec
Compare
126e84f
to
ba8bd98
Compare
c7018ec
to
820bace
Compare
bc0d1e3
to
660e1df
Compare
032237c
to
eb29807
Compare
820bace
to
93667f7
Compare
eb29807
to
58c4ff5
Compare
58c4ff5
to
58f9775
Compare
Closes #63.