Skip to content

Commit

Permalink
Set maximum depth 1 month for RPC GetMostCommentedFeed
Browse files Browse the repository at this point in the history
  • Loading branch information
pocketnetteam authored Aug 30, 2022
1 parent c1e5845 commit 8ad81f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pocketdb/web/PocketContentRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ namespace PocketWeb::PocketWebRpc
vector<string> adrsExcluded;
vector<string> 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
Expand Down Expand Up @@ -892,4 +892,4 @@ namespace PocketWeb::PocketWebRpc

return res;
}
}
}

0 comments on commit 8ad81f1

Please sign in to comment.