mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Update P2P media loader peer version
This commit is contained in:
parent
14aed608f5
commit
ae9bbed46d
9 changed files with 121 additions and 24 deletions
|
@ -18,7 +18,7 @@ let config: IConfig = require('config')
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const LAST_MIGRATION_VERSION = 350
|
||||
const LAST_MIGRATION_VERSION = 355
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -726,6 +726,8 @@ const TRACKER_RATE_LIMITS = {
|
|||
ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval
|
||||
}
|
||||
|
||||
const P2P_MEDIA_LOADER_PEER_VERSION = 2
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// Special constants for a test instance
|
||||
|
@ -772,6 +774,7 @@ updateWebserverUrls()
|
|||
export {
|
||||
API_VERSION,
|
||||
HLS_REDUNDANCY_DIRECTORY,
|
||||
P2P_MEDIA_LOADER_PEER_VERSION,
|
||||
AVATARS_SIZE,
|
||||
ACCEPT_HEADERS,
|
||||
BCRYPT_SALT_SIZE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue