forked from indymedia/epicyon
Always show over quota messages
parent
92c84c4dc2
commit
57306c798c
3
inbox.py
3
inbox.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue