mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
10 ipfs archives per site
This commit is contained in:
parent
0ba71bc1b6
commit
5598d0a852
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class Archive < Sequel::Model
|
|||
many_to_one :site
|
||||
set_primary_key [:site_id, :ipfs_hash]
|
||||
unrestrict_primary_key
|
||||
MAXIMUM_ARCHIVES_PER_SITE = 100
|
||||
MAXIMUM_ARCHIVES_PER_SITE = 10
|
||||
ARCHIVE_WAIT_TIME = 1.minute
|
||||
|
||||
def before_destroy
|
||||
|
|
Loading…
Add table
Reference in a new issue