1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 00:10:57 +01:00
phorge-phorge/webroot/rsrc
vrana 44b7b4bfc0 Send only one request at a time from ShapedRequest
Summary:
'this._request' was never set so 'waiting' was always false.
Result was that several requests were sent at once which wastes resources and
leads to weird bugs when responses don't arrive in sending order.

Blame Rev: D258

Test Plan:
Write a comment extremely fast, watch for requests sent.
Add sleep(5) for some inputs to DifferentialCommentPreviewController, verify
correct order.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1612
2012-02-14 15:58:11 -08:00
..
css Split "Create Another Task" button into "Similar Task" and "Empty Task" 2012-02-08 09:44:22 -08:00
image Add "Fax" content source 2011-09-01 12:27:45 -07:00
js Send only one request at a time from ShapedRequest 2012-02-14 15:58:11 -08:00
swf Aphlict, simple notification server 2011-05-17 10:32:41 -07:00