Opened at 2019-01-17T17:03:10Z
Last modified at 2020-01-22T14:27:11Z
#2953 new defect
Update status API
Reported by: | meejah | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | 1.12.1 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
As per some Slack discussions with @cypher the status API isn't quite working for GridSync?. Currently, the status API gives you:
- all currently pending or active operations
- a history of the last 20 operations
So, if you happen to call the API "fast enough" you could know everything that it has done. It might be better to base the size of the history queue on "time" rather than number of items. Some ideas in this regard:
- history is "last X seconds"
- ALL history is kept as long as new upload/downloads are added or pending; some defined time after that, they will disappear (better wording?)
Note: See
TracTickets for help on using
tickets.
https://github.com/tahoe-lafs/tahoe-lafs/pull/597