File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2.0.8 · 2024-08-01
4
+
5
+ - Changed the feed size limit from ` 2 ** 20 ` to ` 2 ** 19 ` to try and reduce server costs 💀
6
+
3
7
## 2.0.7 · 2024-06-21
4
8
5
9
- Added a “feed settings” page, which allows for adding a custom icon to a feed (https://github.com/leafac/kill-the-newsletter/issues/92 )
Original file line number Diff line number Diff line change @@ -1552,7 +1552,7 @@ application.server?.push({
1552
1552
if ( application . commandLineArguments . values . type === "email" ) {
1553
1553
application . email = new SMTPServer ( {
1554
1554
name : application . configuration . hostname ,
1555
- size : 2 ** 20 ,
1555
+ size : 2 ** 19 ,
1556
1556
disabledCommands : [ "AUTH" ] ,
1557
1557
key : await fs . readFile ( application . configuration . tls . key , "utf-8" ) ,
1558
1558
cert : await fs . readFile ( application . configuration . tls . certificate , "utf-8" ) ,
@@ -1713,7 +1713,7 @@ if (application.commandLineArguments.values.type === "email") {
1713
1713
while ( deletedFeedEntries . length > 0 ) {
1714
1714
const feedEntry = deletedFeedEntries . pop ( ) ! ;
1715
1715
feedLength += feedEntry . title . length + feedEntry . content . length ;
1716
- if ( feedLength > 2 ** 20 ) break ;
1716
+ if ( feedLength > 2 ** 19 ) break ;
1717
1717
}
1718
1718
for ( const deletedFeedEntry of deletedFeedEntries ) {
1719
1719
application . database . run (
You can’t perform that action at this time.
0 commit comments