Lars Wirzenius on Nostr: Service process ("daemon") checks a thing on a schedule. It logs every time it ...
Service process ("daemon") checks a thing on a schedule. It logs every time it checks, so that ops/sysadmin can see if something breaks. This works fine, if schedule is "once a day", or even "once an hour", but not so well when it's "every 10 milliseconds".
I keep making this mistake.
#logspam
Published at
2025-01-14 14:47:35Event JSON
{
"id": "c4ec1df6add51225955d36108f8b6d671097cf86233e812a2fa61e37832f06d4",
"pubkey": "b10dc1f389e232d431638f9ab5e479818b1bfab197d62e420c170baf0bec09cb",
"created_at": 1736866055,
"kind": 1,
"tags": [
[
"t",
"logspam"
],
[
"proxy",
"https://toot.liw.fi/users/liw/statuses/113827253802040877",
"activitypub"
]
],
"content": "Service process (\"daemon\") checks a thing on a schedule. It logs every time it checks, so that ops/sysadmin can see if something breaks. This works fine, if schedule is \"once a day\", or even \"once an hour\", but not so well when it's \"every 10 milliseconds\".\n\nI keep making this mistake.\n\n#logspam",
"sig": "819a3c3fd523845defd754b38b12f8c6722156cc7a1ebac3159f3c6e3511ccba0160811bc00650220102d13f8ce504ae4f969eb969cd23ca434a173fbb7b7bb6"
}