aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpoksiala <panu@oksiala.fi>2025-05-14 23:25:41 +0300
committerGitHub <noreply@github.com>2025-05-14 23:25:41 +0300
commit90715bbbd02efef5fe7d2a8581f043d10498cdde (patch)
treebeddbe341bb90acf95dfe327cf2b33298912fb95
parent717c64b4ab228bc1c82acaf4c4f81f9b17e023e0 (diff)
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7bb0b4a..b977988 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Ever wanted a zero-dependency, filesystem-backed, lock-free, durable, concurrent
```python
from femtoqueue import FemtoQueue, FemtoTask
-q = FemtoQueue(data_dir = "fq", node_id = "node1")
+q = FemtoQueue(data_dir = "fq", node_name = "node1")
q.push("foobar".encode("utf-8"))
while task := q.pop():