to mails.</title>
<meta name='generator' content='cgit v1.2.3-70-g09d2'/>
<meta name='robots' content='index, nofollow'/>
<link rel='stylesheet' type='text/css' href='/static/cgit-highlight.css'/>
<script type='text/javascript' src='/cgit.js'></script>
<link rel='shortcut icon' href='/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://git.necoro.dev/feed2imap-go.git/atom/internal/feed/cache/cache.go?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='https://git.necoro.dev/feed2imap-go.git' title='feed2imap-go Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a href='/feed2imap-go.git/'>feed2imap-go</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='03dac55e1e635f2237e7fd1fb3276bf88d548f97'/><input type='hidden' name='showmsg' value='1'/><select name='h' onchange='this.form.submit();'>
<option value='cookies'>cookies</option>
<option value='master' selected='selected'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>A software to convert rss feeds into mails.</td><td class='sub right'>René 'Necoro' Neumann</td></tr></table>
<table class='tabs'><tr><td>
<a href='/feed2imap-go.git/about/'>about</a><a href='/feed2imap-go.git/'>summary</a><a href='/feed2imap-go.git/refs/?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97'>refs</a><a class='active' href='/feed2imap-go.git/log/internal/feed/cache/cache.go?showmsg=1&amp;follow=1'>log</a><a href='/feed2imap-go.git/tree/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97'>tree</a><a href='/feed2imap-go.git/commit/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;follow=1'>commit</a><a href='/feed2imap-go.git/diff/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/feed2imap-go.git/log/internal/feed/cache/cache.go'>
<input type='hidden' name='id' value='03dac55e1e635f2237e7fd1fb3276bf88d548f97'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/feed2imap-go.git/log/?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1&amp;follow=1'>root</a>/<a href='/feed2imap-go.git/log/internal?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1&amp;follow=1'>internal</a>/<a href='/feed2imap-go.git/log/internal/feed?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1&amp;follow=1'>feed</a>/<a href='/feed2imap-go.git/log/internal/feed/cache?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1&amp;follow=1'>cache</a>/<a href='/feed2imap-go.git/log/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1&amp;follow=1'>cache.go</a> (<a href='/feed2imap-go.git/log/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;showmsg=1'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/feed2imap-go.git/log/internal/feed/cache/cache.go?id=03dac55e1e635f2237e7fd1fb3276bf88d548f97&amp;follow=1'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr class='logheader'><td><span title='2023-06-13 09:43:42 +0200'>2023-06-13</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/version/version.go?id=583d0cfa41b78bf137c66426dbaa7e468b6690f8&amp;follow=1'>Prepare v1.7.0</a></td><td>René 'Necoro' Neumann</td><td>2</td><td><span class='deletions'>-2</span>/<span class='insertions'>+2</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-06-05 13:11:45 +0200'>2023-06-05</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/CHANGELOG.md?id=2746c42c60d060ded9a3f4529840546290500e54&amp;follow=1'>Improve changelog</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-2</span>/<span class='insertions'>+4</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-06-05 13:05:10 +0200'>2023-06-05</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/internal/imap/imap.go?id=3dfbd4d089c9181f8980d530933a47114b8c5656&amp;follow=1'>IMAP client does not need to know about max number of connections</a></td><td>René 'Necoro' Neumann</td><td>2</td><td><span class='deletions'>-19</span>/<span class='insertions'>+12</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-06-04 22:06:19 +0200'>2023-06-04</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/CHANGELOG.md?id=980e34f491cd1f00609ec81a7f113185b92a62dd&amp;follow=1'>Changelog</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+4</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-06-04 22:06:19 +0200'>2023-06-04</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/config/config.go?id=c2697725ead29c3c108a8e5f7a9f6ab7519ed7c3&amp;follow=1'>Add new config option to set max number of IMAP connections.</a></td><td>René 'Necoro' Neumann</td><td>5</td><td><span class='deletions'>-20</span>/<span class='insertions'>+26</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
Default is 5 (as was the hard-coded value before).

Closes issue #98.


</td></tr>
<tr class='logheader'><td><span title='2023-06-04 22:06:19 +0200'>2023-06-04</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/internal/imap/client.go?id=565b1a1eef18372aa3e75efa47b34aec47a53571&amp;follow=1'>Improve locking around IMAP connect/disconnect.</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-10</span>/<span class='insertions'>+26</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
This ensures that no connect happens _after_ a disconnect has been
issued.

Closes issue #97.


</td></tr>
<tr class='logheader'><td><span title='2023-05-20 14:57:03 +0200'>2023-05-20</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/go.sum?id=997f8076a9945a72b1d0fa77a74baba6ba58d486&amp;follow=1'>Bump golang.org/x/net from 0.9.0 to 0.10.0</a></td><td>dependabot[bot]</td><td>2</td><td><span class='deletions'>-2</span>/<span class='insertions'>+3</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] &lt;support@github.com&gt;

</td></tr>
<tr class='logheader'><td><span title='2023-05-12 20:56:23 +0200'>2023-05-12</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/CHANGELOG.md?id=f02cbad8a5e7fb16cbb26dbc023a385b2c99a885&amp;follow=1'>Amend changelog</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-05-12 20:52:49 +0200'>2023-05-12</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/config/config.go?id=273e14dda135a58b834a5a8dc005f0c26f3711e7&amp;follow=1'>Issue #95 Add warning when config can be read globally.</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+11</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-05-11 18:57:23 +0200'>2023-05-11</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/internal/feed/cache/cache.go?id=68d6aafae84de72563199f80e3906bfbad3cd6c5&amp;follow=1'>Issue #95: Change cache ownership.</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+4</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
There is no need for the cache to be accessible by anyone who is not us.
Thus enforce the cache to be stored with 0600.


</td></tr>
<tr class='logheader'><td><span title='2023-05-11 18:32:32 +0200'>2023-05-11</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/config.yml.example?id=95f6848fac1cce0466709113b3464589dfc5dcfd&amp;follow=1'>Issue #95: Add hint about sensible access rights.</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-23 15:04:36 +0200'>2023-04-23</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/.github/workflows/release.yml?id=4655faf9804a612176b18f2458817f78df8dbb2e&amp;follow=1'>[workflow] Port changes also to release</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-6</span>/<span class='insertions'>+5</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-23 15:01:07 +0200'>2023-04-23</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/.github/workflows/go.yml?id=1f7efef2241ef5db699077dce9c5cd7b608a023c&amp;follow=1'>[workflow] Checkout before go setup</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-3</span>/<span class='insertions'>+3</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-23 15:00:05 +0200'>2023-04-23</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/.github/workflows/go.yml?id=e0723bf08ac8208428392b9e3ccf9eedeaaee7a2&amp;follow=1'>[workflow] determine go version from go.mod</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-3</span>/<span class='insertions'>+2</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-23 14:48:06 +0200'>2023-04-23</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/config/yaml_test.go?id=09cad34c7cb07fa3eeb88a298b0d5f5108dcdee9&amp;follow=1'>Improve test to also validate error message</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-42</span>/<span class='insertions'>+39</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-22 23:23:42 +0200'>2023-04-22</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/config/yaml_test.go?id=12f131ca8552cde283353672a6b8aa67b7defe20&amp;follow=1'>Fix/improve tests</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-59</span>/<span class='insertions'>+104</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-22 22:36:44 +0200'>2023-04-22</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/pkg/config/yaml.go?id=d743fd7310b767ad26fc0c13353efa94dadc8f62&amp;follow=1'>Improve error handling</a></td><td>René 'Necoro' Neumann</td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+11</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2023-04-21 10:54:56 +0200'>2023-04-21</span></td><td class='logsubject'><a href='/feed2imap-go.git/commit/.github/workflows/release.yml?id=88c803335f1d251083a6b505814f90a07a621318&amp;follow=1'>Fix workflow: '1.20' needs to be quoted</a></td><td>René 'Necoro' Neumann</td><td>2</td><td><span class='deletions'>-2</span>/<span class='insertions'>+2</span></td></tr>
<tr class='nohover-highlight'><td/><td colspan='5' class='logmsg'>
</td></tr>
