James Cridland on Nostr: I think I've suddenly realised what's crashing the Podnews server when it resizes ...
I think I've suddenly realised what's crashing the Podnews server when it resizes images. It's not anything to do with the image resize. It's the thing that comes next - the Amazon S3 upload. D'oh.
AND
https://github.com/aws/aws-sdk-php/issues/2824 appears to be a bug report about it, and a different piece of upload code...
Well. Worth a look at that in a little bit.
Published at
2024-09-16 10:38:40Event JSON
{
"id": "445a340dba6935646335dbe924e754dd74ea43a26499790f8fbf7db113e3d3eb",
"pubkey": "8e10c71d95b93c41fb37c3ef057b75c43bf22965355da78642065f84df3065d2",
"created_at": 1726483120,
"kind": 1,
"tags": [
[
"proxy",
"https://bne.social/@james/113146797756141016",
"web"
],
[
"proxy",
"https://bne.social/users/james/statuses/113146797756141016",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://bne.social/users/james/statuses/113146797756141016",
"pink.momostr"
],
[
"-"
]
],
"content": "I think I've suddenly realised what's crashing the Podnews server when it resizes images. It's not anything to do with the image resize. It's the thing that comes next - the Amazon S3 upload. D'oh.\n\nAND https://github.com/aws/aws-sdk-php/issues/2824 appears to be a bug report about it, and a different piece of upload code...\n\nWell. Worth a look at that in a little bit.",
"sig": "a2fbef3b8802ae868691f0b7c56cde5d4f4f9a7ca6c40a3eb87d9e7c7cdd7709ebbca9054d7a600420f660fca428437c2cb543cc238fd03384643ecfc52e6617"
}