Avatars in (some?) local oneboxed links broken
-
Continuing the discussion from The popen topic crashes my phone's browser:
Seems to be the combination of ­ and linebreak and spoiler:
https://what.thedailywtf.com/t/spoiler-shy-spoiler/49379src=""
?
-
.. but sometimes OK; from the OP here:Ignore the screenshot as well.
-
nginx rate limiting again?
-
nginx rate limiting again?
I'd expect that if I got an image missing/broken placeholder, but the source itself indicates that the client isn't even trying to get anything.
-
What's OK in that screenshot? The onebox still has no avatar, though the quote does (and I don't think that was what is broken).
It isn't even giving me anything on the <img> tags for oneboxes I'm testing.
-
though the quote does (and I don't think that was what is broken).
Ah, indeed.
-
You may, at some point, want to run the "gradual global rebake" operation.
It looks like this:
# ./launcher enter app # rake ohwaitthattaskdoesntexistforsomereasonokayusetherailsconsoleinstead # rails c [1] pry(main)> Post.update_all(baked_version: nil)
It'll do 250 posts every 15 minutes.
-
That's like 5 days of baking. 😨
-
5 days of cooties
-
You may, at some point, want to run the "gradual global rebake" operation.
Why? The posts concerned (the post doing the onebox and the oneboxed post) are recent (<19h at the time of writing), not ancient.
And rebaking those two posts individually does nothing to fix the problem.
-
I still want to know why you don't just mark the records with a bool and rebake on demand. Who engineered this shit? What the fuck were they thinking?
You know that probably 90% of the posts on this forum will never be viewed between one "rebake" and the next. You're just chewing away CPU power for literally no reason, except Discourse was designed by idiots.
-
You know that probably 90% of the posts on this forum will never be viewed between one "rebake" and the next.
/me looks at the reader bots which load all posts in the forum looking for unread posts to read
hmm.... liike like the bots have that one covered.
of course that's not a human so they don't count, and if i had an API that i could hit that only gave me posts that are not marked read i'd use it, but i don't and for many many many good reasons i don't have DB access so that's out too.
-
bots have that one covered
I assume the article comments and the highly acclaimed threads' early posts (Enlightenment, Blakeyrat's experiences in hell) also get viewed over long periods of time.
That's just guesswork, though.