Project

General

Profile

Feature #4714

Disable result streaming from API methods by default

Added by Robert Illingworth almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
09/27/2013
Due date:
% Done:

100%

Estimated time:
Duration:

Description

By default we should disable streaming of the results from API methods that support it. This is because streaming keeps the socket open until all the data has been read; this surprises users and can cause problems if they are doing something involving time consuming processing on each result. So return a list of all results unless the caller explicitly asks for streaming (in which case, return an iterable instead)

History

#1 Updated by Robert Illingworth almost 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Implemented in 9c939ec

The CLI operations for list-files and list-definitions still use streaming so it doesn't need to build up a large intermediate list before displaying anything.



Also available in: Atom PDF