From b66ff83fe2c3dd1116c7a5a8e50e42d601103372 Mon Sep 17 00:00:00 2001 From: Adrien Beraud Date: Sun, 25 Oct 2026 23:04:58 -0400 Subject: [PATCH] python: preserve permanence in blocking puts --- python/opendht.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/opendht.pyx b/python/opendht.pyx index a7a111ea..9944db33 100644 --- a/python/opendht.pyx +++ b/python/opendht.pyx @@ -803,7 +803,7 @@ cdef class DhtRunner(_WithID): lock.notify() with lock: pending += 1 - self.put(key, val, done_cb=tmp_done) + self.put(key, val, done_cb=tmp_done, permanent=permanent) while pending > 0: lock.wait() return ok @@ -825,7 +825,7 @@ cdef class DhtRunner(_WithID): lock.notify() with lock: pending += 1 - self.putSigned(key, val, done_cb=tmp_done) + self.putSigned(key, val, done_cb=tmp_done, permanent=permanent) while pending > 0: lock.wait() return ok