Setting a migration threshold