1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/daemon
epriestley 84df122085 When exporting more than 1,000 records, export in the background
Summary:
Depends on D18961. Ref T13049. Currently, longer exports don't give the user any feedback, and exports that take longer than 30 seconds are likely to timeout.

For small exports (up to 1,000 rows) continue doing the export in the web process.

For large exports, queue a bulk job and do them in the workers instead. This sends the user through the bulk operation UI and is similar to bulk edits. It's a little clunky for now, but you get your data at the end, which is far better than hanging for 30 seconds and then fataling.

Test Plan: Exported small result sets, got the same workflow as before. Exported very large result sets, went through the bulk flow, got reasonable results out.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13049

Differential Revision: https://secure.phabricator.com/D18962
2018-01-29 16:08:02 -08:00
..
application Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller When exporting more than 1,000 records, export in the background 2018-01-29 16:08:02 -08:00
event Remove daemon envHash and envInfo 2015-11-11 08:54:45 +11:00
garbagecollector Garbage collect old daemon records based on modification date, not creation date 2017-05-26 09:18:26 -07:00
management Update phd launch 2017-03-02 21:37:02 +11:00
query Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
storage Add a missing DaemonLogEvent key for garbage collection 2017-10-26 18:19:46 -07:00
view Separate button CSS classes 2017-06-05 20:14:34 +00:00