diff options
-rw-r--r-- | templates/rss.hard.erb | 2 | ||||
-rw-r--r-- | templates/rss.soft.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/rss.hard.erb b/templates/rss.hard.erb index 31a8030..357dbac 100644 --- a/templates/rss.hard.erb +++ b/templates/rss.hard.erb @@ -1 +1 @@ -<%= memory_limit.to_i * 1_000_000 / 4096 %> +<%= memory_limit.to_i * 1_000_000 / 4096 if defined?(memory_limit) %> diff --git a/templates/rss.soft.erb b/templates/rss.soft.erb index 31a8030..357dbac 100644 --- a/templates/rss.soft.erb +++ b/templates/rss.soft.erb @@ -1 +1 @@ -<%= memory_limit.to_i * 1_000_000 / 4096 %> +<%= memory_limit.to_i * 1_000_000 / 4096 if defined?(memory_limit) %> |