guillermo-carrasco / bcbio-nextgen-monitor

Monitor the status of bcbio-nextgen analyses
MIT License
4 stars 2 forks source link

Unify all "API" calls #40

Closed guillermo-carrasco closed 8 years ago

guillermo-carrasco commented 8 years ago

On every new step, the tool is making 4 API calls:

127.0.0.1 - - [2015-11-24 11:20:17] "POST /publish HTTP/1.1" 200 117 0.000694
127.0.0.1 - - [2015-11-24 11:20:17] "GET /api/graph HTTP/1.1" 200 903 0.000835
127.0.0.1 - - [2015-11-24 11:20:17] "GET /api/last_message HTTP/1.1" 200 185 0.000807
127.0.0.1 - - [2015-11-24 11:20:17] "GET /api/progress_table HTTP/1.1" 200 1167 0.000774

which I wouldn't consider necessary at all, since you're always doing them together. Would be better to unify them and save x4 in server calls.