publiclab/mapknitter

Define a max number of image versions to store / gallery view slowness

開放

#1,167 建立於 2019年12月19日

 (11 則留言) (0 個反應) (0 位負責人)Ruby (203 個分叉)auto 404
help wantedpriorityrefactoringruby

倉庫指標

星標
 (274 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Quoting @jywarren : "come up with a rubric for max # of versions created PER PERIOD" (...) this would require some planning and policy discussion.

Not sure how this relates to the features but the thing is that paper-trail gem seems to be related to slowness and it suggests for performance to "limit the number of versions".

From a DBA point of view, currently our heaviest table is "warpables" with 268723 records. Can we do something to reduce or optimize this? Thanks!

What happened just before the problem occurred

Relevant URLs

https://

PublicLab.org username

(to help reproduce the issue)

Browser, version, and operating system

For bug reports, fill out the above template; for feature requests, you can delete the template.

貢獻者指南