<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Imran Hussain pushed to branch master at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/d0579367d39c5fef2a33f234e90926c8cdf4b21d">d0579367</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2015-10-21T19:01:46Z</i>
</div>
<pre class='commit-message'>Ignore the database being busy.

This fixes issue https://projects.sucs.org/arthur/mw/issues/3 by just ignoring
busy messages when the DB get overloaded by spamming messages with a hashtag.</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/09c50855a78ac6bb34667e964fc16fc1e657a61f">09c50855</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2015-10-21T19:20:44Z</i>
</div>
<pre class='commit-message'>I am stupid.

Not checking against a variable.</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/005eebba7cbfc2ea739db65ff02452c8e925f97e">005eebba</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2015-10-21T19:43:18Z</i>
</div>
<pre class='commit-message'>Merge remote-tracking branch 'upstream/master'</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/b8df4668dd3d8a6965dbf6e729b3e4bc79df592c">b8df4668</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2015-10-21T19:57:26Z</i>
</div>
<pre class='commit-message'>Merge branch 'master' into 'master'

Ignore the database being busy.

This fixes issue https://projects.sucs.org/arthur/mw/issues/3 by just ignoring
busy messages when the DB get overloaded by spamming messages with a hashtag.

See merge request !1</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/sqlite.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/compare/012f46b9882aab38d81878af5073c4ed3849ed20...b8df4668dd3d8a6965dbf6e729b3e4bc79df592c#diff-0'>
<strong>
src/sqlite.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/sqlite.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/sqlite.c
</span><span style="color: #aaaaaa">@@ -99,7 +99,7 @@ struct db_result *db_query(const char *dbname, const char *query, int quiet)
</span>           }
        } while (ret == SQLITE_BUSY && retries > 0);
 
-       if (ret != SQLITE_OK) {
<span style="color: #000000;background-color: #ddffdd">+        if (ret != SQLITE_OK && ret != SQLITE_BUSY) {
</span>           if (!quiet) {
                        switch (ret) {
                                case SQLITE_BUSY: printf("BUSY "); break;
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/compare/012f46b9882aab38d81878af5073c4ed3849ed20...b8df4668dd3d8a6965dbf6e729b3e4bc79df592c">View it on GitLab</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":["merge_requests","issues","commit"],"url":"https://projects.sucs.org/arthur/mw/compare/012f46b9882aab38d81878af5073c4ed3849ed20...b8df4668dd3d8a6965dbf6e729b3e4bc79df592c"}}</script>
</p>
</div>
</body>
</html>