consensus/ethash: reduce notify test aggressiveness

This commit is contained in:
Péter Szilágyi 2018-08-17 18:12:39 +03:00
parent 99e1a5e0fb
commit 251c868008
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -70,7 +70,7 @@ func TestRemoteNotify(t *testing.T) {
// issues in the notifications. // issues in the notifications.
func TestRemoteMultiNotify(t *testing.T) { func TestRemoteMultiNotify(t *testing.T) {
// Start a simple webserver to capture notifications // Start a simple webserver to capture notifications
sink := make(chan [3]string, 1024) sink := make(chan [3]string, 64)
server := &http.Server{ server := &http.Server{
Handler: http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { Handler: http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {