From 480656566b3cf31462450cdfbc4198609dd008a1 Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 14 Mar 2010 18:40:26 -0300 Subject: Adding vserver memory limit. PAGESIZE is hard coded\! --- templates/rss.hard.erb | 1 + templates/rss.soft.erb | 1 + 2 files changed, 2 insertions(+) create mode 100644 templates/rss.hard.erb create mode 100644 templates/rss.soft.erb (limited to 'templates') diff --git a/templates/rss.hard.erb b/templates/rss.hard.erb new file mode 100644 index 0000000..f806702 --- /dev/null +++ b/templates/rss.hard.erb @@ -0,0 +1 @@ +<%= memory_limit * 1_000_000 / 4096 %> diff --git a/templates/rss.soft.erb b/templates/rss.soft.erb new file mode 100644 index 0000000..f806702 --- /dev/null +++ b/templates/rss.soft.erb @@ -0,0 +1 @@ +<%= memory_limit * 1_000_000 / 4096 %> -- cgit v1.2.3