reddit/reddit-plugin-adzerk — pull request #20 by bsimpson63 (2013-09-24 21:23:40+00:00)
Title: A few more things to reduce number of updates to adzerk

* 8cebd1a - updating the flight (which marks it as active) and then immediately deactivating the flight was causing problems for adzerk because they couldn't guarantee that the events would be processed in the order they were received, so they were getting confused about the true state for the flight. This change makes it so we don't update the flight before deactivating it.
* 5bfa13a - when updating a flight check whether it should be deactivated, which should further protect us from ^