Browse Source

Merge pull request #2823 from mnaamani/giza_staging_tweak_content_migration_consts

Runtime upgrade: Faster clearing of videos and channels
Mokhtar Naamani 3 years ago
parent
commit
47991430ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      runtime/src/lib.rs

+ 2 - 2
runtime/src/lib.rs

@@ -429,8 +429,8 @@ impl pallet_finality_tracker::Trait for Runtime {
 parameter_types! {
     pub const MaxNumberOfCuratorsPerGroup: MaxNumber = 50;
     pub const ChannelOwnershipPaymentEscrowId: [u8; 8] = *b"chescrow";
-    pub const VideosMigrationsEachBlock: u64 = 20;
-    pub const ChannelsMigrationsEachBlock: u64 = 10;
+    pub const VideosMigrationsEachBlock: u64 = 100;
+    pub const ChannelsMigrationsEachBlock: u64 = 25;
 }
 
 impl content::Trait for Runtime {