Merge branch 'master' into msg-size

This commit is contained in:
Stephen Buttolph 2020-03-12 16:53:34 -04:00 committed by GitHub
commit 820d793cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,6 @@ import (
"fmt"
"io/ioutil"
"sync"
"time"
"unsafe"
"github.com/ava-labs/salticidae-go"
@ -47,10 +46,7 @@ import (
)
const (
defaultChannelSize = 1
externalRequestTimeout = 2 * time.Second
internalRequestTimeout = 250 * time.Millisecond
maxMessageSize = 1 << 25
maxMessageSize = 1 << 25 // maximum size of a message sent with salticidae
)
// MainNode is the reference for node callbacks