mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 00:02:00 +02:00
tune IPFS archiver to go more quickly (now that it's more stable/fast)
This commit is contained in:
parent
2ef7668595
commit
35d03e95e2
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,8 @@ class Archive < Sequel::Model
|
|||
many_to_one :site
|
||||
set_primary_key [:site_id, :ipfs_hash]
|
||||
unrestrict_primary_key
|
||||
MAXIMUM_ARCHIVES_PER_SITE = 500
|
||||
MAXIMUM_ARCHIVES_PER_SITE = 100
|
||||
ARCHIVE_WAIT_TIME = 5.seconds
|
||||
|
||||
def before_destroy
|
||||
unpin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue