mirror of
https://github.com/aykhans/bsky-feedgen.git
synced 2025-06-01 19:07:34 +00:00
Update 'azInvalidUser' list
This commit is contained in:
parent
c4bd6affa6
commit
7242754124
@ -272,7 +272,7 @@ func ConsumeAndSaveToMongoDB(
|
|||||||
postBatch = []*collections.Post{} // Clear batch after insert
|
postBatch = []*collections.Post{} // Clear batch after insert
|
||||||
} else {
|
} else {
|
||||||
// If we haven't seen any data for 25 seconds, cancel the consumer connection
|
// If we haven't seen any data for 25 seconds, cancel the consumer connection
|
||||||
if consumerLastFlushingTime.Add(time.Second*25).Before(time.Now()) {
|
if consumerLastFlushingTime.Add(time.Second * 25).Before(time.Now()) {
|
||||||
cancel()
|
cancel()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ import (
|
|||||||
var azInvalidUser []string = []string{
|
var azInvalidUser []string = []string{
|
||||||
"did:plc:5zww7zorx2ajw7hqrhuix3ba",
|
"did:plc:5zww7zorx2ajw7hqrhuix3ba",
|
||||||
"did:plc:c4vhz47h566t2ntgd7gtawen",
|
"did:plc:c4vhz47h566t2ntgd7gtawen",
|
||||||
|
"did:plc:lc7j7xdq67gn7vc6vzmydfqk",
|
||||||
}
|
}
|
||||||
|
|
||||||
var azValidUsers []string = []string{
|
var azValidUsers []string = []string{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user