mesosphere/marathon — pull request #67 by brndnmtthws (2013-11-05 01:16:43+00:00)
Title: App endpoints should block.

For the start/stop app endpoints, it makes sense to block while awaiting
a result. The previous behaviour was to always return success, which is
confusing. To make matters worse, Marathon would start tasks before the
app state is stored, resulting in phantom tasks.

@andykram @guenter @florianleibert

This has been tested in our staging cluster.