Commit c7f8b5e9 authored by Zac Wood's avatar Zac Wood

don't cache section lists

memory usage on prod is too high for now
parent cc3724c7
Pipeline #5361 passed with stage
in 11 seconds
......@@ -71,7 +71,6 @@ GEM
rack-test (>= 0.5.4)
xpath (>= 2.0, < 4.0)
childprocess (3.0.0)
chronic (0.10.2)
coderay (1.1.2)
concurrent-ruby (1.1.5)
crass (1.0.5)
......@@ -215,7 +214,6 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.4.1)
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.10)
......@@ -239,8 +237,6 @@ GEM
websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
whenever (1.0.0)
chronic (>= 0.6.3)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.20)
......@@ -269,13 +265,11 @@ DEPENDENCIES
solargraph
spring
spring-watcher-listen (~> 2.0.0)
sqlite3
turbolinks
tzinfo-data
uglifier
web-console (>= 3.3.0)
webpacker
whenever
BUNDLED WITH
2.0.2
2.1.4
......@@ -43,7 +43,7 @@
<h5 class="section-type-label"><%= type %></h5>
<% end %>
<ul class="section-list">
<%= render partial: 'shared/section', collection: sections, cached: true %>
<%= render partial: 'shared/section', collection: sections %>
</ul>
<% end %>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment