From 4a1b57a661d3749fa59f03f8bee5b9fccdbb6a01 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Jul 2019 11:27:53 +0100 Subject: [PATCH] Make initial quotas high - one every ten seconds --- daemon.py | 2 +- epicyon.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 994b8e3f0..ab46d2578 100644 --- a/daemon.py +++ b/daemon.py @@ -664,7 +664,7 @@ def runDaemon(clientToServer: bool,baseDir: str,domain: str, \ fedList=[],noreply=False,nolike=False,nopics=False, \ noannounce=False,cw=False,ocapAlways=False, \ useTor=False,maxReplies=64, \ - domainMaxPostsPerDay=1000,accountMaxPostsPerDay=1000, \ + domainMaxPostsPerDay=8640,accountMaxPostsPerDay=8640, \ debug=False) -> None: if len(domain)==0: domain='localhost' diff --git a/epicyon.py b/epicyon.py index bce06d0d0..78556e5c8 100644 --- a/epicyon.py +++ b/epicyon.py @@ -197,9 +197,9 @@ parser.add_argument('--filter', dest='filterStr', type=str,default=None, \ help='Adds a word or phrase which if present will cause a message to be ignored') parser.add_argument('--unfilter', dest='unfilterStr', type=str,default=None, \ help='Remove a filter on a particular word or phrase') -parser.add_argument('--domainmax', dest='domainMaxPostsPerDay', type=int,default=1000, \ +parser.add_argument('--domainmax', dest='domainMaxPostsPerDay', type=int,default=8640, \ help='Maximum number of received posts from a domain per day') -parser.add_argument('--accountmax', dest='accountMaxPostsPerDay', type=int,default=1000, \ +parser.add_argument('--accountmax', dest='accountMaxPostsPerDay', type=int,default=8640, \ help='Maximum number of received posts from an account per day') args = parser.parse_args()