minor tweaks in days fetched for others and channel events

+1
This commit is contained in:
Vishal 2022-12-28 01:37:10 +05:30
parent 8a3e38eab7
commit b8847cc465
2 changed files with 3 additions and 3 deletions

View File

@ -269,13 +269,13 @@ Future<void> main(List<String> arguments) async {
}
int limitSelfEvents = 200;
int limitOthersEvents = 3;
int limitOthersEvents = 4;
int limitPerSubscription = gLimitPerSubscription;
// if more than 1000 posts have already been read from the file, then don't get too many day's events. Only for last 3 days.
if(numFileEvents > 1000) {
limitSelfEvents = 4;
limitOthersEvents = 2;
limitOthersEvents = 3;
gDefaultNumWaitSeconds = gDefaultNumWaitSeconds ~/5;
} else {
printInfoForNewUser();

View File

@ -3,7 +3,7 @@ description: A multi-platform nostr client built for terminal/console
version: 0.3.1-betaa
homepage: https://github.com/vishalxl/nostr_console
# 0.3.1
# added nostr.ch as another default relay to sync with anigma
# printed only 20 maximum events in a thread to reduce screen spam from long threads. Only in search results are all threads printed; and a thread or event can be searched by 6 digit id-prefix of the event thats mentioned.