@@ -255,7 +255,7 @@ async fn migrate_users(
255
255
) -> Result < ( MasWriter , MigrationMaps ) , Error > {
256
256
let start = Instant :: now ( ) ;
257
257
258
- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
258
+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
259
259
260
260
let mut rng = rand_chacha:: ChaCha8Rng :: from_rng ( rng) . expect ( "failed to seed rng" ) ;
261
261
let server_name = server_name. to_owned ( ) ;
@@ -527,7 +527,7 @@ async fn migrate_devices(
527
527
) -> Result < ( MasWriter , MigrationMaps ) , Error > {
528
528
let start = Instant :: now ( ) ;
529
529
530
- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
530
+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
531
531
532
532
let server_name = server_name. to_owned ( ) ;
533
533
let mut rng = rand_chacha:: ChaChaRng :: from_rng ( rng) . expect ( "failed to seed rng" ) ;
@@ -653,7 +653,7 @@ async fn migrate_unrefreshable_access_tokens(
653
653
) -> Result < ( MasWriter , MigrationMaps ) , Error > {
654
654
let start = Instant :: now ( ) ;
655
655
656
- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
656
+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
657
657
658
658
let now = clock. now ( ) ;
659
659
let server_name = server_name. to_owned ( ) ;
0 commit comments