Emmanuel Lécharny on Nostr: Ok, memory leak spotted. Someone found it smart to cache JWT tokens for users. ...
Ok, memory leak spotted.
Someone found it smart to cache JWT tokens for users. Storing them in a *home made cache*. Which of course *-never* deletes any token.
Rule of thumb: DON’T WRITE YOUR OWN FUCKING CACHE!
Published at
2023-08-18 02:31:27Event JSON
{
"id": "1e658922d28e82196fe627074a6f13b588e50625c58a73e79f2181e4a9437b01",
"pubkey": "e18fec093b8906a4acd7adc04dabe2ba785eb172e2322d15c53a20bbaf930f37",
"created_at": 1692325887,
"kind": 1,
"tags": [
[
"proxy",
"https://framapiaf.org/users/elecharny/statuses/110908269347615265",
"activitypub"
]
],
"content": "Ok, memory leak spotted.\n\nSomeone found it smart to cache JWT tokens for users. Storing them in a *home made cache*. Which of course *-never* deletes any token.\n\nRule of thumb: DON’T WRITE YOUR OWN FUCKING CACHE!",
"sig": "64a9b07a8d0a8492039014e998fee37a53299486f3bb2c4f82314fad1c3eac66f64088193a511c4592fe30a84c3c1dfdb2330abf24e7aef7c484893e7098ab93"
}