Update status API #2953

Open
opened 2019-01-17 17:03:10 +00:00 by meejah · 1 comment
Owner

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?)
As per some Slack discussions with @cypher the status API isn't quite working for [GridSync](wiki/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?)
meejah added the
unknown
normal
defect
1.12.1
labels 2019-01-17 17:03:10 +00:00
meejah added this to the undecided milestone 2019-01-17 17:03:10 +00:00
(https://github.com/tahoe-lafs/tahoe-lafs/pull/597)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2953
No description provided.