diff options
| author | uvok | 2025-01-25 18:55:13 +0100 | 
|---|---|---|
| committer | uvok | 2025-01-25 18:55:13 +0100 | 
| commit | 402618edafc2626424f6c8d0a5512b5ddcac2743 (patch) | |
| tree | 8d3e6a4e67ce4ad17a5ac69af4cd07062d254546 /de_uvok/activitypub_fuse | |
| parent | 44655f8a1a393001e77a803d803fc1bc7dd82d45 (diff) | |
Add comment about thread-safetymain
Diffstat (limited to 'de_uvok/activitypub_fuse')
| -rw-r--r-- | de_uvok/activitypub_fuse/status_fuse.py | 2 | 
1 files changed, 2 insertions, 0 deletions
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()  | 
