diff options
author | Francis Irving <francis@mysociety.org> | 2010-09-03 15:52:05 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-09-03 15:52:05 +0100 |
commit | d06975ca01f0033bcd9dd4253007319c507a4c4c (patch) | |
tree | aba6e94a26d685a5c301e8ec51b03bc6f36fb824 /vendor/plugins/interlock/tasks/interlock.rake | |
parent | 08430db20111c7e853cad6c1710ebc3dc4150375 (diff) |
Use interlock and memcached to cache front page with interlocking
view/controller fragments.
Diffstat (limited to 'vendor/plugins/interlock/tasks/interlock.rake')
-rw-r--r-- | vendor/plugins/interlock/tasks/interlock.rake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/plugins/interlock/tasks/interlock.rake b/vendor/plugins/interlock/tasks/interlock.rake new file mode 100644 index 000000000..a7089f112 --- /dev/null +++ b/vendor/plugins/interlock/tasks/interlock.rake @@ -0,0 +1,10 @@ + +namespace :interlock do + desc "Watch the Rails log for Interlock-specific messages" + task :tail do + Dir.chdir RAILS_ROOT do + exec("tail -f log/#{RAILS_ENV}.log | grep interlock") + end + end +end +
\ No newline at end of file |