mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
updated default firehose offset
This commit is contained in:
@@ -56,7 +56,7 @@ type FirehoseConfig struct {
|
||||
func NewFirehoseConfig() FirehoseConfig {
|
||||
return FirehoseConfig{
|
||||
Relays: defaultRelays,
|
||||
Offset: 10 * time.Second,
|
||||
Offset: time.Minute,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ func TestFirehose(t *testing.T) {
|
||||
defer cancel()
|
||||
|
||||
checker := mockChecker{pubkey: pip}
|
||||
config := FirehoseConfig{Relays: defaultRelays}
|
||||
config := NewFirehoseConfig()
|
||||
|
||||
Firehose(ctx, config, checker, print)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user