mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
renamed files
This commit is contained in:
@@ -109,7 +109,7 @@ func Firehose(ctx context.Context, config FirehoseConfig, check PubkeyChecker, s
|
||||
Since: config.Since(),
|
||||
}
|
||||
|
||||
seen := newBuffer(2048)
|
||||
seen := newBuffer(1024)
|
||||
for event := range pool.SubscribeMany(ctx, config.Relays, filter) {
|
||||
if seen.Contains(event.ID) {
|
||||
// event already seen, skip
|
||||
Reference in New Issue
Block a user