mirror of
https://github.com/aykhans/bsky-feedgen.git
synced 2026-11-11 19:01:09 +00:00
Update 'azInvalidUser' list
This commit is contained in:
1 parent
c4bd6affa6
commit
7242754124
2 files changed
+2
-1
No files matched your search
@@ -272,7 +272,7 @@ func ConsumeAndSaveToMongoDB(
|
||||
postBatch = []*collections.Post{} // Clear batch after insert
|
||||
} else {
|
||||
// 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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user