From 8ad81f1601554be5eb557a5fda204a78fd3d3be3 Mon Sep 17 00:00:00 2001 From: Pocketnet Team Date: Tue, 30 Aug 2022 15:00:15 +0300 Subject: [PATCH] Set maximum depth 1 month for RPC GetMostCommentedFeed --- src/pocketdb/web/PocketContentRpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketdb/web/PocketContentRpc.cpp b/src/pocketdb/web/PocketContentRpc.cpp index 099e2098a..bfc7b2f07 100644 --- a/src/pocketdb/web/PocketContentRpc.cpp +++ b/src/pocketdb/web/PocketContentRpc.cpp @@ -599,7 +599,7 @@ namespace PocketWeb::PocketWebRpc vector adrsExcluded; vector tagsExcluded; string address; - int depth = 60 * 24 * 30 * 6; // about 6 month + int depth = 60 * 24 * 30 * 1; // about 1 month ParseFeedRequest(request, topHeight, topContentHash, countOut, lang, tags, contentTypes, txIdsExcluded, adrsExcluded, tagsExcluded, address); // depth @@ -892,4 +892,4 @@ namespace PocketWeb::PocketWebRpc return res; } -} \ No newline at end of file +}