Conversation
Notices
-
Embed this notice
I just finished my Friendica upgrade and decided to let the "unseen" counter code execute again (I manually commented it out as an experiment earlier this year when user counts started going up a lot). It maxes out at 999+. It refreshes every 30 seconds the way I have my profile configured. It had well over a hundred within a minute. It was maxed out by the 11 minute mark. I'm probably going to make this an actual code thing to be able to toggle it off. #friendica #friendicadev
-
Embed this notice
@hankg What's this unseen counter code of yours? The current version works pretty well.
-
Embed this notice
@hankg How about reducing the limit to 100 instead of 1000 ?
-
Embed this notice
@hypolite The temporary change was literally just me commenting out lines 136-167 of src/Module/Notifications/Ping.php. The larger change I was talking about would be to add a toggle button that would do the same thing with an if statement like what I did with the group level unread counters. For my server the top level one alone is/was a substantial amount of my database usage. If the flag is always there and is always 999+ after 10 minutes then it really doesn't add any value to me but it is causing a lot of DB work.
-
Embed this notice
@hankg Yes but the DB work will be less for the same display relevance (99+ or 999+ looks like the same).
-
Embed this notice
@hypolite It hits that within two update cycles at most. I thought about tracking it but if I recall correctly it was at 175 or something like that at the one minute mark. So it essentially will always tell me I have new network activity.
-
Embed this notice
@hankg Indeed. In my own use it rarely goes above 25.
-
Embed this notice
@hypolite Agree but if it essentially always comes back with the same answer why bother having it do any work at all? I understand that for people that follow a lot less people and/or a lot less chatty people it may be a decent thing to have. It just isn't for my use case at all. That's why the code change I would consider making would be to make it toggleable.