npub1hu…hhr7m on Nostr: npub1fzx00…wt6h3 But how to workers get new jobs? Is it like, this `queue` set's up ...
npub1fzx00c36ny4whyuhg4ykx6987wxp885fmwmc784n27qcu6pavwzs3wt6h3 (npub1fzx…t6h3) But how to workers get new jobs? Is it like, this `queue` set's up a server with some Rest API, and then the worker's can query the rest API to see if there are any jobs to do? Does that mean that you have to also implement the code on the worker's to constantly check if there are new jobs?
I have never setup something like this that is why I am asking.
Published at
2023-07-14 15:09:50Event JSON
{
"id": "f558f29af8b83a5f9b10c251208f473a148b4c5fb8342e332d65c2d3c2301139",
"pubkey": "bf1957ed6b9c28a6ed19f6d4f3b146eeadaee1bbc9d03767b8624f0c09b2d0c5",
"created_at": 1689347390,
"kind": 1,
"tags": [
[
"p",
"488cf7e23a992aeb939745496368a7f38c139e89dbb78f1eb357818e683d6385",
"wss://relay.mostr.pub"
],
[
"p",
"584b9282fbc3d56bde321066766c0ebca3c5508e8d1596a8c7f0a15ca830571c",
"wss://relay.mostr.pub"
],
[
"e",
"fcca194cc71563199eb37259efb1bfc969b7638791e69e1df94d57c9b2c8a25f",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://emacs.ch/users/djrmarques/statuses/110713070571226943"
]
],
"content": "nostr:npub1fzx00c36ny4whyuhg4ykx6987wxp885fmwmc784n27qcu6pavwzs3wt6h3 But how to workers get new jobs? Is it like, this `queue` set's up a server with some Rest API, and then the worker's can query the rest API to see if there are any jobs to do? Does that mean that you have to also implement the code on the worker's to constantly check if there are new jobs? \n\nI have never setup something like this that is why I am asking.",
"sig": "42bdfbe3729b48e441df3920a8b95e998b14b862d384dfb97c666efc172d21d21f0c5bd0c80a814a8da7c5c8f9fb2054619107cda4d7aeb8e0eb2ddac5f99f1a"
}