[wp-trac] [WordPress Trac] #38878: REST API: Default query for users endpoint doesn't scale

WordPress Trac noreply at wordpress.org
Sun Nov 20 23:42:27 UTC 2016


#38878: REST API: Default query for users endpoint doesn't scale
--------------------------+-----------------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------

Comment (by dd32):

 This is the kind of thing that needs to use `wp_large_network( 'users' )`
 and find some other way of populating the index.

 The first two options that come to mind are:
  - "Sorry, Can't list users" error
  - only listing say, the authors of the last 10k posts

 Both of these options are pretty bad for what the endpoint wants to do,
 but there's very little choice here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38878#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list