Update 'azInvalidUser' list

This commit is contained in:
Aykhan Shahsuvarov 2025-05-21 16:43:39 +04:00
parent c4bd6affa6
commit 7242754124
2 changed files with 2 additions and 1 deletions

View File

@ -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()
}
}

View File

@ -16,6 +16,7 @@ import (
var azInvalidUser []string = []string{
"did:plc:5zww7zorx2ajw7hqrhuix3ba",
"did:plc:c4vhz47h566t2ntgd7gtawen",
"did:plc:lc7j7xdq67gn7vc6vzmydfqk",
}
var azValidUsers []string = []string{