Closed minetoblend closed 8 months ago
This update introduces a new environmental variable MIGRATE_BEATMAPS_TO_S3
, which controls whether the beatmaps in a game or application are migrated to Amazon S3 storage. The migration process is managed by the MapsetMigratorService
, which now includes a conditional check to only execute its run()
method if the migration feature is enabled through the configuration.
File Path | Change Summary |
---|---|
.env.example |
Added MIGRATE_BEATMAPS_TO_S3 with default false |
.../mapset-migrator.service.ts |
Added check for MIGRATE_BEATMAPS_TO_S3 in MapsetMigratorService to conditionally run migration |
🐰✨
In the land of code and byte,
Where the data flows and intertwines,
A new switch has been set, just right,
To migrate maps across cloud lines.
With a hop, skip, and a cheerful cheer,
Beatmaps journey to S3, never fear!
🌈🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit