mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Use Bisq's UserThread.executor in gRPC server
This commit is contained in:
parent
259bad629a
commit
150e2f6851
@ -17,6 +17,7 @@
|
||||
|
||||
package bisq.daemon.grpc;
|
||||
|
||||
import bisq.common.UserThread;
|
||||
import bisq.common.config.Config;
|
||||
|
||||
import io.grpc.Server;
|
||||
@ -48,6 +49,7 @@ public class GrpcServer {
|
||||
GrpcTradesService tradesService,
|
||||
GrpcWalletsService walletsService) {
|
||||
this.server = ServerBuilder.forPort(config.apiPort)
|
||||
.executor(UserThread.getExecutor())
|
||||
.addService(disputeAgentsService)
|
||||
.addService(offersService)
|
||||
.addService(paymentAccountsService)
|
||||
|
Loading…
Reference in New Issue
Block a user