1 | ||
1 | ||
1 | ||
1 |
The Post Whenever feature now gives every queued post two points to start.
This is a good incentive to get more people to populate the whenever queue. Then we can get more posts in total.
Why post one song from a band when you can post five? Whenever queue will dole them out.
Queuing posts also keeps the platform’s flow steady, not just random bursts of high activity. More critically it helps the front page never be dead.
Your browsing history is probably full of things worth sharing. Take a look. I'm sure in the last week there are some absolute bangers.
Also I made it more fair. I had only partially applied something I wrote before to make it more fair.
I also fixed a fairness bug. Before, the first post after a restart used a less even-handed picker:
setTimeout(()=>{
submitonedelayedpost();
setInterval(moreFairSumbitOneDelayedPost,postwheneverrate);
},Math.floor(postwheneverrate*Math.random()));
As you can see the first post whenever after a process restart is calling the less fair version.
sync function submitonedelayedpost() {
var row = await db.random('postwhenever');
if(!row) return;
return makePostFromWheneverRow(row);
}
Now it only uses the more fair picker.
setTimeout(()=>{
moreFairSumbitOneDelayedPost();
setInterval(moreFairSumbitOneDelayedPost,postwheneverrate);
},Math.floor(postwheneverrate*Math.random()));
The more users I have represented in that queue the faster I can make the post whenever queue go.