tag:github.com,2008:https://github.com/Thalmann/sync-engine/releasesRelease notes from sync-engine2014-09-09T03:42:59Ztag:github.com,2008:Repository/70057633/v0.3.02014-09-09T03:42:59Zv0.3.0: Improve syncback concurrency limit.<p>Summary:<br>
There's obviously more work to be done here, but in the meantime this commit<br>
removes the global limit on the number of syncback actions that can be tried<br>
concurrently. Instead, it bounds the number of concurrent syncback greenlets<br>
for each (account_id, action_type) pair.</p>
<p>The reason for this is that previously, if say archiving was broken for a<br>
particular account, but there were a bunch of archive actions outstanding for<br>
it, the entire syncback service could grind to a halt. Not ideal.</p>
<p>Smaller associated changes:</p>
<ul>
<li>Make the SyncbackWorker class just be a simple function.</li>
<li>Refactor to hoist sleeping-before-retrying out of the database session<br>
scope.</li>
<li>Remove nested database session in delete_draft.</li>
</ul>
<p>Test Plan: Run some syncback actions.</p>
<p>Reviewers: charles</p>
<p>Reviewed By: charles</p>
<p>Differential Revision: <a href="https://review.inboxapp.com/D440" rel="nofollow">https://review.inboxapp.com/D440</a></p>emfreetag:github.com,2008:Repository/70057633/v0.2.02014-08-13T19:15:37Zv0.2.0<p>Relase 2014.08.12</p>Thalmann