feat: sync multilayer td integration
This commit is contained in:
parent
20a310f6ca
commit
766c5db992
491 changed files with 26235 additions and 35340 deletions
|
|
@ -7,9 +7,9 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/gotd/td/bin"
|
||||
"github.com/gotd/td/proto"
|
||||
"github.com/gotd/td/tg"
|
||||
"github.com/iamxvbaba/td/bin"
|
||||
"github.com/iamxvbaba/td/proto"
|
||||
"github.com/iamxvbaba/td/tg"
|
||||
)
|
||||
|
||||
type blockingDuplicateRPC struct {
|
||||
|
|
@ -53,7 +53,7 @@ func TestPendingSameConnectionDuplicateDoesNotBlockFreshRequest(t *testing.T) {
|
|||
defer handler.unblock()
|
||||
addr, pub, server := startTestServer(t, Options{
|
||||
DC: dc,
|
||||
RPC: handler,
|
||||
legacyRPC: handler,
|
||||
RPCMaxInflight: 2,
|
||||
RPCGlobalWorkers: 2,
|
||||
RPCQueueSize: 8,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue