@@ -255,7 +255,7 @@ async fn migrate_users(
255255) -> Result < ( MasWriter , MigrationMaps ) , Error > {
256256 let start = Instant :: now ( ) ;
257257
258- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
258+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
259259
260260 let mut rng = rand_chacha:: ChaCha8Rng :: from_rng ( rng) . expect ( "failed to seed rng" ) ;
261261 let server_name = server_name. to_owned ( ) ;
@@ -527,7 +527,7 @@ async fn migrate_devices(
527527) -> Result < ( MasWriter , MigrationMaps ) , Error > {
528528 let start = Instant :: now ( ) ;
529529
530- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
530+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
531531
532532 let server_name = server_name. to_owned ( ) ;
533533 let mut rng = rand_chacha:: ChaChaRng :: from_rng ( rng) . expect ( "failed to seed rng" ) ;
@@ -653,7 +653,7 @@ async fn migrate_unrefreshable_access_tokens(
653653) -> Result < ( MasWriter , MigrationMaps ) , Error > {
654654 let start = Instant :: now ( ) ;
655655
656- let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 1024 * 1024 ) ;
656+ let ( tx, mut rx) = tokio:: sync:: mpsc:: channel ( 10 * 1024 * 1024 ) ;
657657
658658 let now = clock. now ( ) ;
659659 let server_name = server_name. to_owned ( ) ;
0 commit comments