Always show over quota messages

main
Bob Mottram 2020-03-25 10:23:08 +00:00
parent 92c84c4dc2
commit 57306c798c
1 changed files with 1 additions and 2 deletions

View File

@ -2111,8 +2111,7 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if domainMaxPostsPerDay>0: if domainMaxPostsPerDay>0:
if quotasDaily['domains'].get(postDomain): if quotasDaily['domains'].get(postDomain):
if quotasDaily['domains'][postDomain]>domainMaxPostsPerDay: if quotasDaily['domains'][postDomain]>domainMaxPostsPerDay:
if debug: print('DEBUG: Quota - Maximum posts for '+postDomain+' reached')
print('DEBUG: Maximum posts for '+postDomain+' reached')
if len(queue)>0: if len(queue)>0:
queue.pop(0) queue.pop(0)
continue continue