[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2569: Magic-Folder: add status command-line tool
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Dec 14 20:09:48 UTC 2015
#2569: Magic-Folder: add status command-line tool
--------------------------------------------+------------------------------
Reporter: dawuud | Owner: daira
Type: enhancement | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend-magic-folder | Version: 1.10.1
Resolution: | Keywords: status magic-
Launchpad Bug: | folder
--------------------------------------------+------------------------------
Comment (by daira):
`deque` has a `maxlen` parameter to
[https://docs.python.org/2/library/collections.html#collections.deque its
constructor]:
> If `maxlen` is not specified or is `None`, deques may grow to an
arbitrary length. Otherwise, the deque is bounded to the specified maximum
length. Once a bounded length deque is full, when new items are added, a
corresponding number of items are discarded from the opposite end. Bounded
length deques provide functionality similar to the tail filter in Unix.
They are also useful for tracking transactions and other pools of data
where only the most recent activity is of interest.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2569#comment:12>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list