add bgs
This commit is contained in:
12
patching/190-bgs-disable-ratelimit.patch
Normal file
12
patching/190-bgs-disable-ratelimit.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/bgs/fedmgr.go b/bgs/fedmgr.go
|
||||
index 2235c6e..e69de29 100644
|
||||
--- a/bgs/fedmgr.go
|
||||
+++ b/bgs/fedmgr.go
|
||||
@@ -342,6 +342,7 @@ var ErrNewSubsDisabled = fmt.Errorf("new subscriptions temporarily disabled")
|
||||
// Checks whether a host is allowed to be subscribed to
|
||||
// must be called with the slurper lock held
|
||||
func (s *Slurper) canSlurpHost(host string) bool {
|
||||
+ return true
|
||||
// Check if we're over the limit for new PDSs today
|
||||
if !s.NewPDSPerDayLimiter.Allow() {
|
||||
return false
|
||||
Reference in New Issue
Block a user