From 402618edafc2626424f6c8d0a5512b5ddcac2743 Mon Sep 17 00:00:00 2001 From: uvok Date: Sat, 25 Jan 2025 18:55:13 +0100 Subject: Add comment about thread-safety --- de_uvok/activitypub_fuse/status_fuse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/de_uvok/activitypub_fuse/status_fuse.py b/de_uvok/activitypub_fuse/status_fuse.py index dee7d28..5cabe8a 100644 --- a/de_uvok/activitypub_fuse/status_fuse.py +++ b/de_uvok/activitypub_fuse/status_fuse.py @@ -57,6 +57,8 @@ class StatusFileSystem(Operations, LoggingMixIn): """ Update the internal statuses list with new statuses from the queue. """ + # TODO: Not thread-safe. But no idea what to do about it. + # Don't set threading to true in FUSE constructor/options. try: while True: statuses = self.__queue.get_nowait() -- cgit v1.2.3