mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
okay, maybe one hour...
This commit is contained in:
parent
35d03e95e2
commit
6a8aaacd20
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class Archive < Sequel::Model
|
||||||
set_primary_key [:site_id, :ipfs_hash]
|
set_primary_key [:site_id, :ipfs_hash]
|
||||||
unrestrict_primary_key
|
unrestrict_primary_key
|
||||||
MAXIMUM_ARCHIVES_PER_SITE = 100
|
MAXIMUM_ARCHIVES_PER_SITE = 100
|
||||||
ARCHIVE_WAIT_TIME = 5.seconds
|
ARCHIVE_WAIT_TIME = 1.hour
|
||||||
|
|
||||||
def before_destroy
|
def before_destroy
|
||||||
unpin
|
unpin
|
||||||
|
|
Loading…
Add table
Reference in a new issue