Skip to content

Commit

Permalink
Use a longer deadline for processing pubsub messages (#4471)
Browse files Browse the repository at this point in the history
* Use a longer deadline for processing pubsub messages
  • Loading branch information
prestonvanloon authored and prylabs-bulldozer[bot] committed Jan 10, 2020
1 parent 3839f57 commit 6de485c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/sync/subscriber.go
Expand Up @@ -18,7 +18,7 @@ import (
"go.opencensus.io/trace"
)

const pubsubMessageTimeout = 10 * time.Second
const pubsubMessageTimeout = 30 * time.Second

// subHandler represents handler for a given subscription.
type subHandler func(context.Context, proto.Message) error
Expand Down

0 comments on commit 6de485c

Please sign in to comment.