Make maximum likes more reasonable

This system is not trying to encourage numbers games
merge-requests/30/head
Bob Mottram 2021-08-03 11:07:52 +01:00
parent af9a6cc6d1
commit 5553e24c61
1 changed files with 2 additions and 2 deletions

View File

@ -15263,8 +15263,8 @@ def runDaemon(maxLikeCount: int,
httpd.maxLikeCount = maxLikeCount httpd.maxLikeCount = maxLikeCount
if httpd.maxLikeCount < 0: if httpd.maxLikeCount < 0:
httpd.maxLikeCount = 0 httpd.maxLikeCount = 0
elif httpd.maxLikeCount > 99: elif httpd.maxLikeCount > 16:
httpd.maxLikeCount = 99 httpd.maxLikeCount = 16
httpd.followingItemsPerPage = 12 httpd.followingItemsPerPage = 12
if registration == 'open': if registration == 'open':